Skip to content

Configure Settings

Tomas Norkūnas edited this page Mar 6, 2024 · 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 config/packages/meilisearch.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