NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Sequence Numbers and Primary Term
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Sequence Numbers and Primary Term
editReturns the sequence number and primary term of the last modification to each search hit. See Optimistic concurrency control for more details.
GET /_search { "seq_no_primary_term": true, "query" : { "term" : { "user" : "kimchy" } } }