Thanks Pat. Is that documented anywhere? Couldn't find it.
On Jun 9, 10:42 am, Pat Allan <[email protected]> wrote:
> @results = Model.search 'foo'
> @results.total_entries #=> 125
>
> Cheers
>
> --
> Pat
>
> On 09/06/2009, at 10:07 AM, Alex wrote:
>
>
>
> > Is there a way to get the result count with the same call as a when
> > using Model.search ?
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---