![High-Cardinality Aggregation Alternate Approaches (2 million buckets) - Elasticsearch - Discuss the Elastic Stack High-Cardinality Aggregation Alternate Approaches (2 million buckets) - Elasticsearch - Discuss the Elastic Stack](https://aws1.discourse-cdn.com/elastic/original/3X/7/1/714a21862489c0dbc56ad2aa7083e54d8a34c0ec.png)
High-Cardinality Aggregation Alternate Approaches (2 million buckets) - Elasticsearch - Discuss the Elastic Stack
Bucket Aggregation size setting should never throw too_many_buckets_exception if size is less than respect search.max_buckets · Issue #51559 · elastic/elasticsearch · GitHub
![Improve Heavy Elasticsearch Aggregations with Random Score and Sampler Aggregation | by Golan Kopichinsky | Cognigo | Medium Improve Heavy Elasticsearch Aggregations with Random Score and Sampler Aggregation | by Golan Kopichinsky | Cognigo | Medium](https://miro.medium.com/max/800/1*YIGQrbQhFOO9EY6T92ffig.jpeg)