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

Morten Lied Johansen commented on SOLR-2931:
--------------------------------------------

After a couple weeks of trying to make this work, we gave up because of a lack 
of knowledge of the internals of SOLR and the complexities involved in the 
solution. We have since moved away from the feature and no longer have a need 
to solve this use-case.

We are not doing any more work on this issue (as should be evident from my 
comment last year). It is unlikely to be implemented unless someone who has a 
need for this use-case steps forward.


> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to