You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dennis Gove (JIRA)" <ji...@apache.org> on 2015/11/10 14:17:10 UTC

[jira] [Updated] (SOLR-8268) Makes StatsStream implement Expressible interface

     [ https://issues.apache.org/jira/browse/SOLR-8268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Gove updated SOLR-8268:
------------------------------
    Attachment: SOLR-8268.patch

Fully implemented. All relevant tests pass. New necessary tests added.

This is a relatively minor change with full backward compatibility. I'll let this sit for today but if my schedule holds I intend to commit to trunk tonight. Unless issues/comments come up, of course.

> Makes StatsStream implement Expressible interface
> -------------------------------------------------
>
>                 Key: SOLR-8268
>                 URL: https://issues.apache.org/jira/browse/SOLR-8268
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>    Affects Versions: Trunk
>            Reporter: Dennis Gove
>            Priority: Trivial
>              Labels: Streaming
>             Fix For: Trunk
>
>         Attachments: SOLR-8268.patch
>
>
> Adds expression support to the Stats stream. With this it will now be possible to express an stats stream as
> {code}
> 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(*)
> )
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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