Distance_feature and optimal pagination?

I want to implement pagination over a search query that uses the distance_feature using location and time and implement pagination.

Now because each request is unique in terms of it's location and time the sorting will be unique for each request. So I'm not sure what method of pagination is optimal for this kind of query.

Should I use from size, search_after, PID or scroll?

I'm trying to support as many requests as possible. Also note I can make the max number of hits smaller then the standard 10000, let's say 1000 to 2000.

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