Re: Group by multiple fields

2013-06-06 Thread bbarani
-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.

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 facetin

Group by multiple fields

2013-06-05 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 docu