This is because Sphinx, by default, has a maximum result limit of 1000 documents. You can change this using the max_matches setting, though: http://freelancing-god.github.com/ts/en/advanced_config.html (see the second-last section)
Cheers -- Pat On 13/09/2011, at 9:47 PM, Shweta wrote: > I am using thinking sphinx 2.0.3 . > I have 2300 records in my DB But sphinx is returning only 1000 records > even if i set per_page. > > My code is - > Question.search Riddle.escape(params[:search]), :conditions => > filter[0],:with => filter[1],:per_page => 2147483647 > > -- > 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.
