Aggregations with geo_bounding_box?


I'm working on a side project using map.

My goal is to display all the points that are in the viewport of the user.
Actually, I'm doing a search/scroll with a geo_bounding_box filter, fetch all the points and working with a JS lib that do the cluster on the map.

I'm wondering if it's possible to avoid the scroll and doing an aggregation with geo_bounding_box and create cluster of points, that are in the viewport, during the search? Allowing to just creating cluster points on client side, not calculating them.

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