Index settings
The table below shows the index-level settings available in Meilisearch.
Name | Type | Default value | Description |
---|---|---|---|
displayedAttributes | Array of strings | All attributes: ["*"] | Fields displayed in the returned documents |
distinctAttribute | String | null | Search returns documents with distinct (different) values of the given field |
faceting | Object | Default object | Faceting settings |
filterableAttributes | Array of strings | Empty | Attributes to use as filters and facets |
pagination | Object | Default object | Pagination settings |
rankingRules | Array of strings | ["words", "typo", "proximity", "attribute", "sort", "exactness"] | List of ranking rules in order of importance |
searchableAttributes | Array of strings | All attributes: ["*"] | Fields in which to search for matching query words sorted by order of importance |
sortableAttributes | Array of strings | Empty | Attributes to use when sorting search results |
stopWords | Array of strings | Empty | List of words ignored by Meilisearch when present in search queries |
synonyms | Object | Empty | List of associated words treated similarly |
typoTolerance | Object | Default object | Typo tolerance settings |