Elasticsearch 使用集群 - 列出索引

章节


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

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

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

猜你喜欢

转载自www.cnblogs.com/haibianren/p/12615418.html