class OpenSearch::DSL::Search::Aggregations::Cardinality
A single-value metric aggregation which returns the approximate count of distinct values
@example
search do aggregation :authors do cardinality do field 'author' end end
A single-value metric aggregation which returns the approximate count of distinct values
@example
search do aggregation :authors do cardinality do field 'author' end end