sunspot/sunspot — pull request #242 by pgaspar (2012-06-10 10:36:32+00:00)
Title: Enabling pagination on grouped results

Sunspot::Search::FieldGroup.groups is now a PaginatedCollection, making it possible to paginate the groups in Solr's response.

Ex:
search.group(:blog_id_str).groups can be passed to Kaminari's paginate helper, since it answers to .current_page, .num_pages, etc.