Pagination over aggregation result

Is there a pagination support over aggregated result. For example if the terms-aggregation gives all the results in some sorted order and I need to get only 50 of them at a time as the user is issuing more requests. This can be done on the backend, but would like to understand if it is supported within Elastic Search ? Thanks.

The composite aggregation allows you to do that:

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

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