Aggregation paging problem

My data set is very even distributed, the buckets is very large, how can we do the paging against the paging buckets ? For instance, the buckets size is 1000,000 ?

And your user really needs to paginate over 1 000 000 buckets?
I’m curious about the use case.

1M is just an example. I wonder do we have the mechanism to do paging against aggs buckets?


Paging of aggregations is not possible for a variety of reasons eg:

  1. Aggregations are a nested tree not a single flat list so there would need to be multiple cursors
  2. Distributed data makes efficient paging hard

However, there is a tool for breaking up analysis on high-cardinality fields into multiple requests which is term-based partitioning

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