1.对所有索引去只读
curl -XPUT -H 'Content-Type: application/json' http://192.168.1.156:9200/_settings -d ' { "index": { "blocks": { "read_only_allow_delete": "false" } } }'
https://www.cnblogs.com/barneywill/p/10622944.html
2024-01-01 10:19:28
1.对所有索引去只读
curl -XPUT -H 'Content-Type: application/json' http://192.168.1.156:9200/_settings -d ' { "index": { "blocks": { "read_only_allow_delete": "false" } } }'
https://www.cnblogs.com/barneywill/p/10622944.html