(1)partial update内置乐观锁并发控制
    (2)retry_on_conflict
    (3)_version

    1. post /index/_update/id?retry_on_conflict=5&version=6

    image
    注:ES7.x 版本已经不用 version 作为并发锁,使用的是 _seq_no_primary_term 两个字段, 但是原理应该是一样的。