Efficient deep pagination, or equivalent of solr shards.rows

Howdy!
We have a public-facing search function where certain users routinely can navigate quite deeply in the result set and reach the max_result_window.

I found a very interesting article about solr where they limit the number of hits per shard for (very) deep pagination and thus I wonder if the tools exist to pull off the same thing in elasticsearch?

After some research I found a few features that almost does the right thing:

  • terminate_after - It has a different use case and doesn't do any shard-level sorting before terminating.
  • shard_size - It's only for aggregations

So, it would seem it's currently not possible.

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