Skip to content

Configure Settings

Bruno Casali edited this page May 12, 2023 · 9 revisions

This bundle allows you to configure each index as simply as possible.

Configure Settings

Indices settings configuration is located in the same file meili_search.yaml when you configure your search indices:

meilisearch:
    indices:
        -   name: posts
            class: App\Entity\Post
            settings:
                stopWords: ['the', 'a', 'an']
                searchableAttributes: ['genres', 'publishedAt']

For all available settings, check this page which describes all the settings available in Meilisearch and how to configure them.

Update Settings

This bundle offers the --update-settings option of the command meili:import to update the indices settings:

php bin/console meili:import --update-settings