sunspot/sunspot — pull request #193 by dkln (2012-02-29 12:16:12+00:00)
Title: Number of unique found field groups when using groups (groups.ngroups)

We were using the nice grouped fields feature when we noticed that it wasn't possible to return the number of unique found groups. This can be achieved by specifying "groups.ngroups = true" in the search query: http://wiki.apache.org/solr/FieldCollapsing#Result_Grouping_.2BAC8_Field_Collapsing