Hello,
When I am doing a sum bucket aggregation, I am facing a problem because I want to sum every bucket, but I have to define size which normally is limited to 10 000. What I can do to sum every bucket?
Thank you,
Francisca
Hello,
When I am doing a sum bucket aggregation, I am facing a problem because I want to sum every bucket, but I have to define size which normally is limited to 10 000. What I can do to sum every bucket?
Thank you,
Francisca
@Bargs what is best to do here?
The max number of buckets allowed can be controlled with a dynamic cluster setting named search.max_buckets
. You could increase this limit if you really need to. But the terms agg is not design to return all values of a high cardinality field so you should consider performance implications like memory usage in the cluster, payload size, and response time.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.