Group on multiple fields in a sharded environment

2014-02-20 Thread lboutros
advice ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Group-on-multiple-fields-in-a-sharded-environment-tp4118527.html Sent from the Solr - User mailing list archive at Nabble.com.

Group by multiple fields

2013-06-06 Thread Benjamin Ryan
Hi, Is it possible to create a query similar in function to multiple SQL group by clauses? I have documents that have a single valued fields for host name and collection name and would like to group the results by both e.g. a result would contain a count of the

Re: Group by multiple fields

2013-06-06 Thread Erick Erickson
There may be a terminology problem here. In Solr land, grouping aka field collapsing governs how the results are returned. But from your example, it looks like you really want summary counts rather than return documents grouped by some field. If you want counting, take a look at pivot faceting,

Re: Group by multiple fields

2013-06-06 Thread bbarani
-to-make-solr-return-intersection-of-2-resultse -- View this message in context: http://lucene.472066.n3.nabble.com/Group-by-multiple-fields-tp4068518p4068638.html Sent from the Solr - User mailing list archive at Nabble.com.