如何解决elasticsearch,如何使用通配符删除多个索引
我想删除所有*-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}
如何删除它们,其中有很多。
解决方法
请参阅https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html中的action.destructive_requires_name
,该文件控制删除操作中wildcard
的使用。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。