displayedAttributesarray | null
Fields returned in search results. Affects only search endpoints, not get-document endpoints. See [displayed and searchable attributes](https://www.meilisearch.com/docs/learn/relevancy/displayed_searchable_attributes).
Default ["*"]
searchableAttributesarray | null
Fields searched for query words, in order of importance. Defines [attribute ranking order](https://www.meilisearch.com/docs/learn/relevancy/attribute_ranking_order). See [displayed and searchable attributes](https://www.meilisearch.com/docs/learn/relevancy/displayed_searchable_attributes).
Default ["*"]
filterableAttributesarray | null
Attributes that can be used as [filters](https://www.meilisearch.com/docs/learn/filtering_and_sorting/filter_search_results) and [facets](https://www.meilisearch.com/docs/learn/filtering_and_sorting/search_with_facet_filters). Strings or objects with `attributePatterns` and `features`.
Default []
sortableAttributesarray | null
Attributes that can be used to [sort search results](https://www.meilisearch.com/docs/learn/filtering_and_sorting/sort_search_results).
Default []
foreignKeysarray | null
Foreign keys to use for cross-index filtering search.
rankingRulesarray | null
[Ranking rules](https://www.meilisearch.com/docs/learn/relevancy/ranking_rules) in order of importance. Built-in rules and custom sort rules (`attribute:asc` or `attribute:desc`).
Default ["words","typo","proximity","attributeRank","sort","wordPosition","exactness"]
stopWordsarray | null
Words ignored when present in search queries.
Default []
nonSeparatorTokensarray | null
Characters that are not treated as word separators. Removed from the default separator set.
Default []
separatorTokensarray | null
Characters that delimit words. Added on top of the default separators.
Default []
dictionaryarray | null
Strings Meilisearch parses as a single term. Useful for names or domain terms.
Default []
synonymsobject | null
Pairs of words or phrases treated as equivalent for search. Key maps to an array of [synonyms](https://www.meilisearch.com/docs/learn/relevancy/synonyms).
Default {}
distinctAttributestring | null
Field whose value must be unique in the returned documents. One document per distinct value. See [distinct attribute](https://www.meilisearch.com/docs/learn/relevancy/distinct_attribute).
proximityPrecisionstring | null
Precision for the proximity ranking rule and phrase search: `byWord` (exact distance) or `byAttribute` (same attribute).
Default "byWord"
typoToleranceoneOf
Default {"enabled":true,"minWordSizeForTypos":{"oneTypo":5,"twoTypos":9},"disableOnWords":[],"disableOnAttributes":[],"disableOnNumbers":false}
facetingoneOf
Default {"maxValuesPerFacet":100,"sortFacetValuesBy":{"*":"alpha"}}
paginationoneOf
Default {"maxTotalHits":1000}
embeddersobject | null
[Embedders](https://www.meilisearch.com/docs/learn/ai_powered_search/getting_started_with_ai_search) used for semantic and [hybrid search](https://www.meilisearch.com/docs/learn/ai_powered_search/getting_started_with_ai_search). Map of embedder name to config (`source`, `model`, `documentTemplate`, etc.).
Default {}
searchCutoffMsinteger | null
Maximum duration of a search in milliseconds. If reached, the search stops and returns results computed so far. When null, 1500 ms is used.
localizedAttributesarray | null
Locales and attribute patterns for [language-specific tokenization](https://www.meilisearch.com/docs/learn/resources/language). Affects searchable, filterable, and sortable attributes.
Default []
facetSearchboolean | null
When true, [facet search](https://www.meilisearch.com/docs/learn/filtering_and_sorting/search_with_facet_filters) is enabled. When false, the facet-search endpoint is disabled.
Default true
prefixSearchoneOf
Default "indexingTime"