Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
There are scenarios where documents are partitioned across shards based on the same field that the unique agg is applied to with JSON facets. In this scenario exact unique counts can be calculated by simply sending the bucket level unique counts to the aggregator where they can be summed. Suggested syntax is to add a boolean flag to the unique aggregation function: unique(partitioned_field, true).
The true value turns on the "partitioned" unique logic. The default is false.
Attachments
Issue Links
- supercedes
-
SOLR-14167 Exact unique counts when shards contain disjoint values
- Open