我想删除所有*-meow
索引。
但DELETE
不允许使用通配符表达式
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Wildcard expressions or all indices are not allowed"}],"type":"illegal_argument_exception","reason":"Wildcard expressions or all indices are not allowed"},"status":400}
我怎么删除它们,有很多..
1条答案
按热度按时间jvidinwx1#
请参考https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html中的
action.destructive_requires_name
,它控制删除操作中wildcard
的使用。PUT_CLUSTER/设置