Search content in SilverStripe using manticoresearch as the free text search engine.
Via Composer
$ composer require suilven/silverstripe-manticore-search
Packages are available for multiple platforms, see https://manticoresearch.com/downloads/ - version 3.5 is required for compatibility with the ManticoreSearch PHP client.
Alternatively one can start an instance using docker:
docker run --name manticore -p 9306:9306 -p 9308:9308 -d manticoresearch/manticore
Note that does not include volume mapping in order to backup the indexed data.
See https://github.com/gordonbanderson/freetextsearch#configuration
By default, manticore is expected to be found on 127.0.0.1
on port 9308
. To override this, add a config file
simiar to the following:
---
Name: manticore-my-host
After: manticore
---
Suilven\ManticoreSearch\Service\Client:
host: 'manticoresearch-manticore'
port: 19308
See https://github.com/gordonbanderson/freetextsearch#usage
Please see CHANGELOG for more information on what has changed recently.
$ vendor/bin/phpunit tests '' flush=1
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.