首页 > 其他 > 详细

Elasticsearch 使用集群 - 列出索引

时间:2020-04-01 21:28:04      阅读:66      评论:0      收藏:0      [点我收藏+]

章节


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

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

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

Elasticsearch 使用集群 - 列出索引

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!