elasticsearch更新doc文档

在elasticsearch-head中:

 

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

 

posted @ 2019-03-15 00:18  护花使者  Views(1053)  Comments(0Edit  收藏  举报