index_shrink
Reduce the number of shards in an index by shrinking a read-only source index into a smaller target index with specified settings.
Instructions
收缩索引(减少分片数)
参数:
source: 源索引名称
target: 目标索引名称
settings: 目标索引设置
注意:源索引必须是只读的,且所有分片在同一节点
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes | ||
| settings | No |