1、查看集群的健康情况
http://localhost:9200/_cluster/health/

2、创建索引

index_temp 为索引名称
3、查看索引信息

4、查询所有索引
显示索引的详细信息

index: 索引名称
store.size 索引所占的存储空间
5、删除索引
DELETE /index_name
完整请求路径 http://localhost:9200/index_name
发送DELETE请求, index_name 为索引的名称
作者:Work Hard Work Smart
出处:http://www.cnblogs.com/linlf03/
欢迎任何形式的转载,未经作者同意,请保留此段声明!
浙公网安备 33010602011771号