🚀 Enhancements
-
Allow using services for settings (#253) @norkunas
Define a service that implementsMeilisearch\Bundle\SettingsProvider
.
And then use the new service definition in themeilisearch.yml
config file:Example:
.... - name: index_name class: 'Your\Path\Entity\IndexWithDynamicSettings' settings: stopWords: _service: '@Your\Path\Services\StopWords' synonyms: _service: '@Your\Path\Services\Synonyms' services: Your\Path\: resource: '../Services/'
Thanks again to @norkunas! 🎉