Skip to content

Commit

Permalink
Remove statement about search and optimistic concurrency control from…
Browse files Browse the repository at this point in the history
… 6.6 docs (#37876)

This turned out to not be true and is tackled by #37639 . That PR will be part of 6.7
  • Loading branch information
bleskes authored Jan 25, 2019
1 parent 0edaf2b commit f96bc41
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/reference/docs/concurrency-control.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ returns:
--------------------------------------------------
// TESTRESPONSE[s/"_seq_no" : \d+/"_seq_no" : $body._seq_no/ s/"_primary_term" : 2/"_primary_term" : $body._primary_term/]


Note: The <<search-search,Search API>> can return the `_seq_no` and `_primary_term`
for each search hit by requesting the `_seq_no` and `_primary_term` <<search-request-docvalue-fields,Doc Value Fields>>.

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
Expand Down

0 comments on commit f96bc41

Please sign in to comment.