删除具体索引
curl -XDELETE http://localhost:9200/twitter
删除所有的
curl -XDELETE http://localhost:9200/_all
或
curl -XDELETE http://localhost:9200/*
一次删除多个索引
curl -XDELETE http://localhost:9200/twitter,my_index
禁止通配符索引
配置文件添加
action.destructive_requires_name = true
网友评论