All hits not returned

(Gaurav Arora) #1

I have a simple query - and elasticsearch says that the hit count is 8 but then it only returns 7 results in the hits array. Why would this happen? Am I doing something wrong?

I have a single elasticsearch node with no replicas and the default 5 shards.

(David Pilato) #2

What if you remove from parameter or set it to 0?

(Gaurav Arora) #3

Sigh, I can't believe I missed that. Thanks a ton!

(system) #4