You'll want to use faceting, try to use a query like this
http://localhost:8080/Solr/select/?q=artist%3Awar&version=2.2&start=0&rows=0&facet=true&facet.limit=-1&facet.field=artist
replace localhost:8080 with your own :)
On Thu, Aug 20, 2009 at 2:40 PM, Daniel Löfquist <
daniel.lofqu...@it.cdon.c
Hi Daniel,
I think you should take a look at
https://issues.apache.org/jira/browse/SOLR-236. The functionality you
are looking for is called field collapsing in Solr and does grouping
by field. Currently this is not supported out of the box in Solr. The
jira issue contains a patch you that you can