Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11017

Add support for unique metric to facet streaming function

    XMLWordPrintableJSON

    Details

      Description

      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)
      ...
      ...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              susheel2777@gmail.com Susheel Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: