Is there a way to do a ThinkingSphinx::Search.count query and get the
total_entries broken down on a per class basis? i.e.
ThinkingsSphinx::Search.count('jeff', :classes => [User, Comment]) and
get something like {User => 124, Comment => 3489}
If not, does anyone have recommendations on how to provide such
statistics on a search results page besides looping through
ThinkingSphinx::Search.count per class that I want statistics for?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---