Elasticsearch 的partial update原理_elasticsearch update 原理-CSDN博客

网站介绍:文章浏览阅读115次。1、语法:post /index/type/id/_update{ "doc": { "要修改的少数几个field即可,不需要全量的数据" }}每次传递少数几个发生修改的field即可,不需要将全量的document数据发送过去2、partial update相对于全量替换的优点 a、所有的查询、修改都发生在一个shard 避免了所有网络数据的开销 大大提升性能 b、减少了查询和修改的 时间间隔,减少了并发冲突的情况3、案例PUT /test..._elasticsearch update 原理