dachcom-digital / dynamic-search-index-provider-lucene
Installs: 42 826
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 9
Forks: 4
Open Issues: 0
Type:dynamic-search-provider-bundle
Requires
- dachcom-digital/dynamic-search: ^3.0
- dachcom-digital/zendsearch: ~3.0.1
- pimcore/pimcore: ^11.0
- wamania/php-stemmer: ~1.2
Requires (Dev)
- codeception/codeception: ^5.0
- codeception/module-symfony: ^3.1
- phpstan/phpstan: ^1.0
- phpstan/phpstan-symfony: ^1.0
- symplify/easy-coding-standard: ^9.0
Suggests
- org_heigl/hyphenator: ^2.3
README
An index storage extension for Pimcore Dynamic Search. Store data with the PHP Lucene index service.
Release Plan
Installation
"require" : { "dachcom-digital/dynamic-search" : "~3.0.0", "dachcom-digital/dynamic-search-index-provider-lucene" : "~3.0.0" }
Dependencies
This package will also install a fork of ZendSearch to provide the latest PHP compatibility.
Dynamic Search Bundle
You need to install / enable the Dynamic Search Bundle first. Read more about it here. After that, proceed as followed:
Add Bundle to bundles.php
:
<?php return [ \DsLuceneBundle\DsLuceneBundle::class => ['all' => true], ];
Basic Setup
dynamic_search: context: default: index_provider: service: 'lucene' options: database_name: 'my_lucene_storage'
Provider Options
Index Fields
Available Index Fields:
Output Channel Services
Autocomplete
Identifier: lucene_autocomplete
Available Options:
Suggestions
Identifier: lucene_suggestions
Available Options:
Search
Identifier: lucene_search
Available Options:
Multi Search
Identifier: lucene_multi_search
Available Options: none
Filter
RelationsFilter
Identifier: relations
Available Options:
Output Normalizer
A Output Normalizer can be defined for each output channel.
lucene_document_key_value_normalizer
Available Options:
Further Information
- Lucene Configuration
- Custom Analyzer (Example: Syllable Analyzer)
- Lucene Token Filter (Stemming Filter, Stop Words Filter)
- Debugging (Debugging Lucene Index Database)
Copyright and License
Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md
Upgrade Info
Before updating, please check our upgrade notes!