update-sortable-attributes
Modify sortable attributes in Meilisearch indexes to customize search result ordering, ensuring precise data retrieval based on specified criteria.
Instructions
Update the sortable attributes setting
Input Schema
Name | Required | Description | Default |
---|---|---|---|
indexUid | Yes | Unique identifier of the index | |
value | Yes | JSON value for the setting |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"indexUid": {
"description": "Unique identifier of the index",
"type": "string"
},
"value": {
"description": "JSON value for the setting",
"type": "string"
}
},
"required": [
"indexUid",
"value"
],
"type": "object"
}