Download the PHP package silverstripe/silverstripe-forager-fluent without Composer
On this page you can find all versions of the php package silverstripe/silverstripe-forager-fluent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silverstripe/silverstripe-forager-fluent
More information about silverstripe/silverstripe-forager-fluent
Files in silverstripe/silverstripe-forager-fluent
Package silverstripe-forager-fluent
Short Description Fluent (translations) support for silverstripe/silverstripe-forager
License BSD-3-Clause
Informations about the package silverstripe-forager-fluent
🧺 Silverstripe Forager: Fluent support
Support for the fluent module.
This module sets the Locale context for indexing operations. The core assumption is that one index has content from one locale. I does this with IndexDataContextProvider implementations to set the Locale context for indexing operations. Refer to the index context documentation for more information.
Install with composer require silverstripe/forager-fluent.
To configure add the fluent context and a locale property to your index configurations:
This will use the default fluent context created by this module to set the locale. It will also use the LiveIndexDataContext from the forager module as seen in the configuration below:
You can customise this context by overriding it in yaml or providing a new custom index context implementation.
Search service extension
This module will replace the SearchServiceExtension provided by the forager module. The replacement extension will create a job for each locale (and therefore index) an object has a localisation for.
All versions of silverstripe-forager-fluent with dependencies
silverstripe/cms Version ^6
silverstripe/silverstripe-forager Version ^2.0.0
tractorcow/silverstripe-fluent Version ^8