When using a geo_bound aggregation (ie. the smallest window of coordinates to display all results) and pagination (x documents per page) together, I am wondering if the aggregation is run on the subset of results selected by the pagination or the complete data set ?
For example, if I search all documents within a given radius, and select top 10 documents. Will the aggregation use all documents as calculation reference, or use the top 10 only ?
I was not able to find that information from the docs...