How do we use pagination in elastic search ?
I have been using the size field with from field with size field set to 1000 and from field to 0.
{ "from : 0, "sort": .... , "_source": ... , "size": 1000 }
Even after this query i am getting more than 1000 hits. How can we solve this?