[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] Commented: (SOLR-680) StatsComponent - get min, max, sum,
From:       "Koji Sekiguchi (JIRA)" <jira () apache ! org>
Date:       2008-09-30 16:31:44
Message-ID: 1273980849.1222792304874.JavaMail.jira () brutus
[Download RAW message or body]


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

Koji Sekiguchi commented on SOLR-680:
-------------------------------------

Lars, Ryan and Sean -- thank you for your comments and contribution on this!
And thanks again Ryan for Wiki document :)  \
http://wiki.apache.org/solr/StatsComponent

I was thinking whether I could implement arbitrary function other than sum(), \
avg(),... just after I opened this ticket, as Yonik mentioned in this thread: \
http://www.nabble.com/Sum-of-one-field-td18815666.html#a18854371, but soon I couldn't \
find time to think about it and was apart from this. I'd like to see updated patch \
when I am available, hopefully soon. :)

> 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
> Priority: Minor
> Fix For: 1.4
> 
> Attachments: 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic