Path parameters
-
indexUid string Required
Index Unique Identifier
GET /indexes/{indexUid}/settings
curl \
-X GET https://example.meilisearch.com:7700/indexes/movies/settings \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"rankingRules": [
"words",
"typo",
"proximity",
"attribute",
"sort",
"exactness",
"release_date:asc"
],
"distinctAttribute": "ean13",
"searchableAttributes": [
"title",
"description",
"genre"
],
"displayedAttributes": [
"title",
"description",
"genre",
"release_date"
],
"stopWords": [
"of",
"the",
"to"
],
"synonyms": {
"wolverine": [
"xmen",
"logan"
],
"logan": [
"wolverine",
"xmen"
],
"wow": [
"world of warcraft"
]
},
"filterableAttributes": [
"genres",
"director"
],
"sortableAttributes": [
"price",
"author",
"title"
],
"typoTolerance": {
"enabled": true,
"disableOnAttributes": [
"author",
"price"
],
"disableOnWords": [
"Tolkien"
],
"minWordSizeForTypos": {
"oneTypo": 4,
"twoTypos": 8
}
},
"pagination": {
"maxTotalHits": 1000
},
"faceting": {
"maxValuesPerFacet": 100,
"sortFacetValuesBy": {
"*": "alpha"
}
}
}
Response examples (401)
{
"message": "The Authorization header is missing. It must use the bearer authorization method.",
"code": "missing_authorization_header",
"type": "auth",
"link": "https://docs.meilisearch.com/errors#missing_authorization_header"
}