elasticsearch 5.x删除index/type

elasticsearch 5.x删除index:

在head插件中执行:
DELETE ip:port/index 

看到
acknowledge{
        " true"
}
即为成功

elasticsearch 5.x删除type:

在kibana界面,dev tools中:
POST ip:potrt/index/type/_delete_by_query?conflicts=proceed
{
  "query": {
    "match_all": {}
  }
}

个人经验,有其他可行方法可回复讨论