You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2009/06/21 06:50:08 UTC

[jira] Commented: (SOLR-680) StatsComponent - get min, max, sum, qt, avg of number fields

    [ https://issues.apache.org/jira/browse/SOLR-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722302#action_12722302 ] 

David Smiley commented on SOLR-680:
-----------------------------------

Harish, given that this issue is closed, it seems your patch has fallen off the radar.  I recommend convincing the committers to re-open this issue OR you should create a new issue.

> StatsComponent - get min, max, sum, qt, avg of number fields
> ------------------------------------------------------------
>
>                 Key: SOLR-680
>                 URL: https://issues.apache.org/jira/browse/SOLR-680
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Koji Sekiguchi
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-680-remove-bad-median-calculation.patch, SOLR-680.patch, SOLR-680.patch, SOLR-680.patch, SOLR-680.patch, SOLR-680.patch, SOLR-680.patch, SOLR-680.patch
>
>
> StatsComponent - it returns min,max,sum,qt,avg of specified number fields:
> request parameters:
> &stats=on&stats.field=price
> {code:xml}
> <stats>
>  <stats_fields>
>    <lst name="price">
>        <double name="min">10</double>
>        <double name="max">30</double>
>        <double name="avg">20</double>
>        <double name="sum">60</double>
>        <double name="qt">3</double>
>    </lst>
>  </stats_fields>
> </stats>
> {code}
> WRT "stats", the component can output sum and avg, but not sd and var.
> USE CASE:
> StatsComponent can be used to get "market price" of DocSet e.g. rental housing site, package tour site.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.