Is Pagination Possible on Aggregation in Elastic 6.6.2

I want to perform pagination aggregation, is it possible in Elastic Search

I think this aggregation should help you:

https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-aggregations-bucket-composite-aggregation.html

Composite aggs will work if you are sorting results by the key of the bucket. However if you want to sort them by a child aggregation (e.g. product keywords sorted by sum of sale double fields) then you'd need a different approach.
This wizard might help understand the trade-offs https://embed.plnkr.co/zCPNM2OcM3lxEYg4M7rD/

1 Like

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