Elasticsearch 使用集群 - 列出索引

时间:2020-04-01 21:28:04   收藏:0   阅读:67

章节


现在让我们来看看集群中的索引:

API格式:

GET /_cat/indices?v

curl访问API:

curl -X GET "localhost:9200/_cat/indices?v"

响应:

[root@qikegu elasticsearch]# curl -X GET "localhost:9200/_cat/indices?v"
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size

可以看到,集群中还没有索引。

原文:https://www.cnblogs.com/haibianren/p/12615418.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!