Skip to content

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented May 9, 2025

Backports the following commits to 8.19:

Fix a bug in the `significant_terms` agg where the "subsetSize" array is too small because we never collect the ordinal for the agg "above" it. This mostly hits when the you do a `range` agg containing a `significant_terms` AND you only collect the first few ranges. `range` isn't particularly popular, but `date_histogram` is super popular and it rewrites into a `range` pretty commonly - so that's likely what's really hitting this - a `date_histogram` followed by a `significant_text` where the matches are all early in the date range held by the shard.
@nik9000 nik9000 added :Analytics/Aggregations Aggregations >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels May 9, 2025
@elasticsearchmachine elasticsearchmachine merged commit bf3c172 into elastic:8.19 May 9, 2025
15 checks passed
@nik9000 nik9000 deleted the backport/8.19/pr-127975 branch May 9, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.0

2 participants