-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
Investigate elastic search max bucket behaviour #1822
Labels
Comments
Elasticsearch has been changed to count the buckets for the bucket limit only in the reduce phase: elastic/elasticsearch#57042 |
PSeitz
added a commit
that referenced
this issue
Jan 23, 2023
postpone bucket size aggregation limit for terms aggregation improve min_doc_count special use case 0, it loaded more texts from the dict than segment_size limit Note that we effectively check now that segment_size does not exceed the bucket limit. segment_size is 10 * size. So requests would fail with size 6500 for a bucket limit of 65000. closes #1822
PSeitz
added a commit
that referenced
this issue
Jan 23, 2023
postpone bucket size aggregation limit for terms aggregation improve min_doc_count special use case 0, it loaded more texts from the dict than segment_size limit Note that we effectively check now that segment_size does not exceed the bucket limit. segment_size is 10 * size. So requests would fail with size 6500 for a bucket limit of 65000. closes #1822
After talking with @imotov, I got a better understanding on what elastic search is doing and how we should adjust our current behavior
|
Partial Fixed by: #1942 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As reported here quickwit-oss/quickwit#812, term queries run into the aggregation bucket limit.
Investigate behavior of elastic search for term aggregation queries.
Opposed to other aggregations like
HistogramAggregation
, there is a half-way sensible upper limit due to the number of terms in the dictionary.This upper limit may be circumvented with nested aggregations.
The text was updated successfully, but these errors were encountered: