Query Hit limit

I have index 2M document.

If I query

GET indexName/_search?q=email:info@yahoo.com

It's giving me this result:-

"took" : 12,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 10000,
      "relation" : "gte"
    },

My question is what does this hits value means? Is this mean it's the only query from 1000, not from all my 2M documents?

It means that your query matched more than 10000 documents.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.