New

The executive guide to generative AI

Read more

Sequence Numbers and Primary Term

edit

Sequence Numbers and Primary Term

edit

Returns 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" }
    }
}
Was this helpful?
Feedback