index_split
Split an Elasticsearch/OpenSearch index into a new index with more shards to handle increased data volume or improve performance.
Instructions
拆分索引(增加分片数)
参数:
source: 源索引名称
target: 目标索引名称
settings: 目标索引设置(必须包含 number_of_shards)
注意:新分片数必须是原分片数的倍数
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"target": "<target>"
},
"name": "index_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes | ||
| settings | No |