Joel Bernstein created SOLR-14518:
-------------------------------------

             Summary: Add support partitioned unique agg in JSON facets.
                 Key: SOLR-14518
                 URL: https://issues.apache.org/jira/browse/SOLR-14518
             Project: Solr
          Issue Type: New Feature
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Joel Bernstein


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 counts can be calculated by simply sending the bucket level 
unique counts to the aggregator where they can be merged. Suggested syntax is 
simply to add a boolean flag to the unique function: *unique*(field, true).

The true turns on the "partitioned" unique logic. The default is false.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to