# 要检查群集运行状况
GET /_cat/health?v
# 获取群集中的节点列表
GET /_cat/nodes?v
# 列出所有的索引
GET /_cat/indices?v
# 创建索引
PUT /customer?pretty
PUT /customer/_doc/1?pretty { "name": "John Doe" }
GET /customer/_doc/1?pretty
# 要检查群集运行状况
GET /_cat/health?v
# 获取群集中的节点列表
GET /_cat/nodes?v
# 列出所有的索引
GET /_cat/indices?v
# 创建索引
PUT /customer?pretty
PUT /customer/_doc/1?pretty { "name": "John Doe" }
GET /customer/_doc/1?pretty