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

Makes StatsStream implement Expressible interface

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Implemented
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: SolrJ
    • Labels:

      Description

      Adds expression support to the Stats stream. With this it will now be possible to express an stats stream as

      stats(
        collection1, q=*:*, fl="fieldA,fieldB,fieldInt,fieldFloat",
        sum(fieldInt), 
        sum(fieldFloat), 
        min(fieldInt), 
        min(fieldFloat), 
        max(fieldInt), 
        max(fieldFloat), 
        avg(fieldInt), 
        avg(fieldFloat), 
        count(*)
      )
      

      You can collect stats on any supported metric and use full metric features. Ie, when SOLR-8185 is committed you can then include operations in the metrics.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpgove Dennis Gove
                Reporter:
                dpgove Dennis Gove
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: