PUT方式
http://localhost:9200/索引名称
参数
{ "settings":{ "number_of_shards":1, "number_of_replicas":0 } }
ES-单机创建索引,status不变黄色的方式
原文:https://www.cnblogs.com/xietianhua/p/11345641.html