启动关闭/缩小/滚动->索引
Open / Close Index API /启动关闭索引
curl -XPOST 'localhost:9200/my_index/_close?pretty'
curl -XPOST 'localhost:9200/my_index/_open?pretty'Shrink Index /缩小索引
curl -XPUT 'localhost:9200/my_source_index/_settings?pretty' -d'
{
"settings": {
"index.routing.allocation.require._name": "shrink_node_name", # 1
"index.blocks.write": true #2
}
}'Shrinking an index 缩小一个索引
Monitoring the shrink process /监测缩小进程
Wait For Active Shards /等待激活分片
Rollover Index/滚动索引
Naming the new index/新索引名称
Using date math with the rolllover API/使用滚动API的日期计算
Defining the new index/定义新索引
Dry run/干运行
Wait For Active Shards/等待激活分片
Last updated