[Maps] point-to-point source can exceed default search.max_buckets and fail #46515
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
discuss
Point-to-point source fetches the top 100 destination points and then runs a geotile_grid aggregation for each bucket. The geotile_grid aggregation is limited to top 500 buckets. Even with these constraints in place, the request could return 50,000 buckets. This will result in an exception for the request, because the default
search.max_buckets
is breached.point-to-point should use composite aggregation to break the request into pieces to ensure the default
search.max_buckets
is not breached.With composite aggs, point-to-point could also be expanded to support more than 100 destinations.
The text was updated successfully, but these errors were encountered: