How to fetch pages of results with an ElasticSearch?
It's quite simple from https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html:
{ "from" : 0, "size" : 10, "query" : { "term" : { "user" : "kimchy" } } }
from
is from where to start the result ie. offset (This is applied after all your filters etc. in query). And size
is max number of document to be return.
You should post your query also if issue persists.