Is it possible apply paging on the Top Hits Aggregation?
I quote from the reference documentation:
The top hits returned in each bucket are the result of running a light mini-query based on the original main query. The mini-query supports the usual features that you would expect from search such as highlighting and pagination.
Using the Java client, I have found a setFrom and setSize, but this probably only applies to the Top Hits and not the number of buckets found. We can set the size of an aggregation, but not the from.