==================================================
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