1、检测集群是否健康。 确保9200端口号可用
GET http://127.0.0.1:9200/_cat/health?v
curl http://127.0.0.1:9200/_cat/health?v
2、获取集群的节点列表
GET http://127.0.0.1:9200/_cat/nodes?v
3、列出所有索引
GET http://127.0.0.1:9200/_cat/indices?v
4、添加索引
在管理平台手动添加
5、添加文档
PUT http://127.0.0.1:9200/telnum_fee_index/_mapping/telnum_fee_type
6、index追加字段
PUT http://127.0.0.1:9200/call_record_index/_mapping/call_record_type
7、设置ES最大每页数据
PUT http://127.0.0.1:9200/telnum_fee_index/_settings
原文:https://www.cnblogs.com/henry-2020/p/14381576.html