dachcom-digital/dynamic-search

Pimcore Dynamic Search Bundle

v4.0.2 2024-10-17 07:57 UTC

README

Dynamic Search Schema

Software License Latest Release Tests PhpStan

Release Plan

Introduction

The Dynamic Search Bundle allows you to redefine your search strategy. It's based on several data- and index providers.

Providers

There are several data- and index providers available:

Data Provider

Index Provider

  • Lucene Search | Use the php lucene index. Not superfast but comes without any dependencies but php
  • Elasticsearch | Index data with an elasticsearch instance.
  • Open Search | Index data with an open search instance.

Installation

"require" : {
    "dachcom-digital/dynamic-search" : "~4.0.0"
}

Add Bundle to bundles.php:

return [
    DynamicSearchBundle\DynamicSearchBundle::class => ['all' => true],
];
  • Execute: $ bin/console pimcore:bundle:install DynamicSearchBundle
  • Execute optionally: $ bin/console messenger:setup-transports

Upgrading

  • Execute: $ bin/console doctrine:migrations:migrate --prefix 'DynamicSearchBundle\Migrations'

Provider Installation

You need at least one data- and one index provider. They have to be installed separately. Please check out install instruction of each provider (see list above).

Add Routes

# config/routes.yaml
dynamic_search_frontend:
    resource: '@DynamicSearchBundle/config/pimcore/routing/frontend_routing.yaml'

Start Queue Worker

$ bin/console messenger:consume dynamic_search_queue

Read more details about the queue worker and the recommended setup here.

Dispatch Dynamic Search

After you've added a definition, you're ready to start the engine. Always use the verbose -v flag, otherwise you won't get any process information about the ongoing data / index providing process.

$ bin/console dynamic-search:run -v

Further Information

image

Copyright and License

Copyright: DACHCOM.DIGITAL For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!