lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morten Lied Johansen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2931) Statistics/aggregated values per group in a grouped response
Date Wed, 30 Nov 2011 14:25:39 GMT
Statistics/aggregated values per group in a grouped response
------------------------------------------------------------

                 Key: SOLR-2931
                 URL: https://issues.apache.org/jira/browse/SOLR-2931
             Project: Solr
          Issue Type: New Feature
            Reporter: Morten Lied Johansen


We need to get minimum and maximum values for a field, within a group in a grouped search-result.

I'll flesh out our use-case a little to make our needs clearer:

We have a number of documents, indexed with a price, date and a hotel. For each hotel, there
are a number of documents, each representing a price/date combination. We then group our search
result on hotel. We want to show the minimum and maximum price for each hotel.

Other use-cases could be to calculate an average or a sum within a group.


We plan to work on this in the coming weeks, and will be supplying patches.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message