Pagination in aggregation

How to Use pagination (size and from) in elastic search aggregation?

Aggregations don't offer pagination in most cases, due to how they work internally. Terms aggregation, starting in 5.2.0, offers a way to "partition" the terms into groups, which you can fetch independently:

For the rest of the aggregations (histograms, ranges, etc), you'll have to "partition" them yourself by selecting a smaller time range, etc.


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