Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AOOBE when setting min_doc_count to 0 in significant_terms #60823

Merged
merged 2 commits into from
Aug 6, 2020

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Aug 6, 2020

This commit fixes the computation of the subset size on empty buckets (doc count of 0).
The aggregator test refactoring in #60683 revealed this bug.

Closes #60824

This commit fixes the computation of the subset size on empty buckets (doc count of 0).
The aggregator test refactoring in elastic#60683 revealed this bug.
@jimczi jimczi added >bug :Analytics/Geo Indexing, search aggregations of geo points and shapes v8.0.0 v7.10.0 labels Aug 6, 2020
@jimczi jimczi requested a review from nik9000 August 6, 2020 12:57
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Geo)

@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Aug 6, 2020
@jimczi jimczi added :Analytics/Aggregations Aggregations and removed :Analytics/Geo Indexing, search aggregations of geo points and shapes labels Aug 6, 2020
@jimczi jimczi merged commit 91c82e7 into elastic:master Aug 6, 2020
@jimczi jimczi deleted the significant_text_min_doc_count branch August 6, 2020 16:02
jimczi added a commit that referenced this pull request Aug 6, 2020
This commit fixes the computation of the subset size on empty buckets (doc count of 0).
The aggregator test refactoring in #60683 revealed this bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.10.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SignificantTermsAggregatorTests#testThreeLayerStringViaGlobalOrds test failure
4 participants