使用下面的命令可以查看所有的索引:

GET /_cat/indices?v

 

或直接在浏览器中打开连接:

http://localhost:9200/_cat/indices?v

 

返回结果:

health status index uuid pri rep docs.count docs.deleted store.size pri.store.size

 

表示在咱们的集群中还没有创建任何索引

 

 

 

本文系本人根据官方文档的翻译,能力有限、水平一般,如果对想学习Elasticsearch的朋友有帮助,将是本人的莫大荣幸。

原文出处:https://www.elastic.co/guide/en/elasticsearch/reference/current/_list_all_indices.html

 posted on 2017-04-26 23:38  段子手6哥  阅读(358)  评论(0编辑  收藏  举报