vg

#获取集群的节点列表:
curl --user username:password 'localhost:9200/_cat/nodes?v'

#列出所有索引:
curl 'localhost:9200/_cat/indices?v'

#创建一个名为“customer”的索引,
curl -X PUT 'localhost:9200/customer?pretty'

#查看所有的索引:
curl 'localhost:9200/_cat/indices?v'

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code