Thanks, Pat, I'll check into that.
On Jul 28, 4:52 am, Pat Allan <[email protected]> wrote:
> Hi Jeffrey
>
> You can get that breakdown via facets - use one of the two methods
> (the first will not work unless you're running TS 1.2.x)
> ThinkingSphinx.facets
> ThinkingSphinx::Search.facets
>
> Cheers
>
> --
> Pat
>
> On 27/07/2009, at 7:59 PM, Jeffrey Chupp wrote:
>
>
>
>
>
> > 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
-~----------~----~----~----~------~----~------~--~---