0

I am working on the Elastic Search with Geotile aggregation and having a problem, that is the number of bucket I have may be very high (after even filtering using bounding box).

This can exceed 10,000 buckets. As the document said it will take the group whose number of documents is the highest. Also, I don't want to increase the default config of size, because it may affect the performance.

However, I just want to keep the groups which is most nearest to an input point. How should I make the query to achieve this?

Thank you!

I have tried to search on:

  • Can you describe your use case. What are you doing with the results? – Nathan Reese Jul 10 '23 at 13:02
  • In my case, I want to group all the geopoint into markers using geogrid. However, all the markers are not needed to be used, because the frontend view is limited. So I just want to take the markers (bucket) nearest the centroid point of frontend view. – Phúc Đỗ Vương Jul 12 '23 at 08:20

0 Answers0