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

Add the countDist aggregation to the stats, facet and timeseries Streaming Expressions

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 9.0, 8.10
    • streaming expressions
    • None

    Description

      The unique function in the JSON facet API is currently not supported in the Streaming Expression pushdown analytics functions. This ticket will add support for unique aggregations in the stats, facet and timeseries Streaming Expressions. The name countDist will be the aggregation in Streaming Expressions and map to the JSON facet unique function.

      Sample syntax:

      facet(test, buckets="core_s", rows="50", countDist(type_s))
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbernste Joel Bernstein
            jbernste Joel Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment