Hi Varun,

I think you can use group.truncate=true with stats component 
http://wiki.apache.org/solr/StatsComponent
    

If true, facet counts are based on the most relevant document of each group 
matching the query. Same applies for StatsComponent. Default is false. <!> 
Solr3.4 Supported from Solr 3.4 and up.

On Thursday, May 1, 2014 12:30 PM, Varun Gupta <varun.vgu...@gmail.com> wrote:

Hi,

I am using SolrCloud for getting results grouped by a particular field.
Now, I also want to get min and max value for a particular field for each
group. For example, if I am grouping results by city, then I also want to
get the minimum and maximum price for each city.

Is this possible to do with Solr.

Thanks in Advance!

--
Varun Gupta

Reply via email to