Susheel Kumar created SOLR-11017:
------------------------------------

             Summary: Add support for unique metric to facet streaming function
                 Key: SOLR-11017
                 URL: https://issues.apache.org/jira/browse/SOLR-11017
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 6.6
            Reporter: Susheel Kumar


Add support for Unique metric to facet function which under the cover utilizes 
JSON Facet API.

The challenge is to come up with a keyword which can be used for UniqueMetric. 
Currently "unique" is used for UniqueStream and can't be utilized.  

Does "uniq" make sense? 

...
...
  StreamFactory factory = new StreamFactory()
                      .withCollectionZkHost (...)                     
                       .withFunctionName("facet", FacetStream.class)
                      .withFunctionName("sum", SumMetric.class)
                      .withFunctionName("unique", UniqueStream.class)
                      .withFunctionName("unique", UniqueMetric.class)
...
...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to