I have a model that looks something like this
class Post
acts_as_tree
end
What I want to do is conduct a search on the contents of an entire thread of posts, but only return the parent post in the results, and paginate these results.
I've read about facets in sunspot/solr, and while this does return the correct results, they cannot be paginated.
Basically, I want to search a set of posts, but group by their parent_id
. Is this possible in sunspot/solr?