在elasticsearch-head中:
http://localhost:9200/my_index/products/2/
_update
{ "script" : { "inline": "ctx._source.name = 'xxx'" } }
在elasticsearch-head中:
http://localhost:9200/my_index/products/2/
_update
{ "script" : { "inline": "ctx._source.name = 'xxx'" } }