Skip to content

Latest commit

 

History

History
112 lines (88 loc) · 5.55 KB

README.md

File metadata and controls

112 lines (88 loc) · 5.55 KB

Pimcore - Dynamic Search

Dynamic Search Schema

Software License Latest Release Tests PhpStan

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
4.x 11.0 ^6.2 -- Feature Branch master
3.x 11.0 ^6.2 28.09.2023 Bugfixes 3.x
2.x 10.0 - 10.6 ^5.4 19.12.2021 No 2.x
1.x 6.6 - 6.9 ^4.4 18.04.2021 No 1.x

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, [email protected]
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved.

For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!