【ElasticSearch】索引

==================================================

1、自动添加索引

==================================================

1、自动添加索引

curl -H "Content-Type:application/json" -XPUT http://localhost:9200/customer/_doc/1 -d '{ "name":"Alice" }'
curl -XGET http://localhost:9200/customer/_doc/1?pretty
原文地址:https://www.cnblogs.com/yangchongxing/p/13214930.html