[DOCS] Add document update API link to concurrency control docs (#56481)

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
This commit is contained in:
Marc 2020-05-11 23:30:48 +02:00 committed by James Rodewig
parent 1d6b2f074e
commit e0e7b89499
1 changed files with 3 additions and 3 deletions

View File

@ -90,8 +90,9 @@ for each search hit by setting <<request-body-search-seq-no-primary-term,`seq_no
The sequence number and the primary term uniquely identify a change. By noting down
the sequence number and primary term returned, you can make sure to only change the
document if no other change was made to it since you retrieved it. This
is done by setting the `if_seq_no` and `if_primary_term` parameters of either the
<<docs-index_,Index API>> or the <<docs-delete,Delete API>>.
is done by setting the `if_seq_no` and `if_primary_term` parameters of the
<<docs-index_,index API>>, <<docs-update,update API>>, or <<docs-delete,delete
API>>.
For example, the following indexing call will make sure to add a tag to the
document without losing any potential change to the description or an addition
@ -108,4 +109,3 @@ PUT products/_doc/1567?if_seq_no=362&if_primary_term=2
--------------------------------------------------
// TEST[continued]
// TEST[catch: conflict]