dachcom-digital/dynamic-search

Pimcore Dynamic Search Bundle

v4.0.3 2024-11-20 12:28 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

  • WebCrawler | Fetch data by crawling urls [legacy, recommended]
  • Trinity Data | Fetch pimcore entities: object, asset, document

Index Provider

  • Lucene Search | Use the php lucene index. Not superfast but comes without any dependencies but php [legacy, not recommended]
  • 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

License

DACHCOM.DIGITAL AG, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
dachcom.com, dcdi@dachcom.ch
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved.

For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!