thanks, somehow I missed that paragraph of the docs.
On Sep 5, 10:59 am, Pat Allan <[email protected]> wrote:
> Scroll down about two thirds on this page - you're looking for the
> Search Results Information
> header:http://freelancing-god.github.com/ts/en/searching.html
>
> Cheers
>
> --
> Pat
>
> On 04/09/2009, at 4:17 PM, Dierk Erdmann wrote:
>
>
>
> > Hi,
>
> > how can I count the number of results that a search query returned
> > while using will_paginate? Using .size of the result array does not
> > work, because thinking_sphinx always returns 20 results for each web
> > page that is displayed.
>
> > Of course, I could send the query two times and do not specify
> > the :page-option the first time, but is there a nicer way to count the
> > results?
>
> > Motivation is simple: if the number of search results exceeds a
> > certain number, I want the user to refine the search criteria.
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---