[Maps] Update DEFAULT_MAX_BUCKETS_LIMIT to new limit #68177
Labels
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
enhancement
New value added to drive a business result
v7.9.0
v8.0.0
elastic/elasticsearch#57042 increased search.max_buckets to 65,535.
DEFAULT_MAX_BUCKETS_LIMIT
needs to be updated to the new value.This will help term joins since the new limit will make it rarer that terms are missed.
With this higher limit, we can also increase the shard_size for top terms to received more accurate results https://github.com/elastic/kibana/blob/master/x-pack/plugins/maps/public/classes/fields/es_agg_field.ts#L103
The text was updated successfully, but these errors were encountered: