swap-indexes
Swap indexes in Meilisearch to reorganize data efficiently. Input a JSON array of index pairs to switch their positions, enabling flexible index management.
Instructions
Swap two or more indexes in Meilisearch
Input Schema
Name | Required | Description | Default |
---|---|---|---|
indexes | Yes | JSON array of index pairs to swap, e.g. [["movies", "movies_new"]] |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"indexes": {
"description": "JSON array of index pairs to swap, e.g. [[\"movies\", \"movies_new\"]]",
"type": "string"
}
},
"required": [
"indexes"
],
"type": "object"
}