Back to Developer Roadmap

Cardinality Aggregation

src/data/roadmaps/elasticsearch/content/[email protected]

4.0976 B
Original Source

Cardinality Aggregation

Cardinality aggregation is used to estimate the number of unique values in a field. It's particularly useful when you need to count distinct items but don't need the actual unique values themselves. This aggregation provides an approximate count, balancing accuracy with performance, especially when dealing with large datasets.

Visit the following resources to learn more: