Child route of the settings route.
The attributes that can be used as facets for faceted search.
Attributes for faceting can also be updated directly through the global settings route along with the other settings.
Learn more about faceted search.
Get the attributes for faceting of an index.
Variable | Description |
---|---|
index_uid | The index UID |
List the settings.
["genres", "director"]
Update the attributes for faceting of an index.
Variable | Description |
---|---|
index_uid | The index UID |
An array of strings that contains the attributes to use as facets.
More information about the body.
{
"updateId": 1
}
This updateId
allows you to track the current update.
Reset the attributes for faceting of the index to the default value.
An empty array ([]
).
Variable | Description |
---|---|
index_uid | The index UID |
{
"updateId": 1
}
This updateId
allows you to track the current update.