Re: Getting min and max of a solr field for each group while doing field collapsing/result grouping

2014-05-01 Thread Varun Gupta
Hi Ahmet, Thanks for the information! But as per Solr documentation, group.truncate is not supported in distributed searches and I am looking for a solution that can work on SolrCloud. -- Varun Gupta On Thu, May 1, 2014 at 4:12 PM, Ahmet Arslan wrote: > Hi Varun, > > I think you can use group.

Re: Getting min and max of a solr field for each group while doing field collapsing/result grouping

2014-05-01 Thread Ahmet Arslan
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

Getting min and max of a solr field for each group while doing field collapsing/result grouping

2014-05-01 Thread Varun Gupta
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 w

Field Collapsing / Result Grouping

2012-01-19 Thread cmathur
group.limit, then all results under the group are returned. Why is the default 1 instead of ALL? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Field-Collapsing-Result-Grouping-tp3674000p3674000.html Sent from the Solr - User mailing list archive at Nabble.com.