Hi Rahul There is no difference between :limit and :per_page - :limit is Sphinx terminology, but :per_page is what Will Paginate uses, so I figure some people are used to that. Both do exactly the same thing.
Cheers -- Pat On 28/09/2010, at 7:41 PM, rahul100885 wrote: > Thanks you James, > > I tried same and got the result. > > But what is difference between :per_page and :limit as it work same > for both > > > > On Sep 28, 1:08 pm, James Healy <[email protected]> wrote: >> rahul100885 wrote: >>> I have issue while using thinking sphinx. While I am searching using >>> sphinx it returns only 20 record even those there are many records are >>> present. >> >> TS paginates all results. Try passing ":per_page => 1000" to the >> search() method if you need more results. >> >> -- James Healy <[email protected]> Tue, 28 Sep 2010 18:08:18 +1000 > > -- > 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. > -- 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.
