Ah...didn't try to re-index afterwards, and wasn't aware of thinking_sphinx:configure. I confirmed that thinking_sphinx:configure puts the max_matches param in the [environment].sphinx.conf file.
Thanks! On Jun 10, 8:31 pm, Pat Allan <[email protected]> wrote: > Hmm, that should be added by Thinking Sphinx automatically when you > index your data and/or generate the configuration file (rake > thinking_sphinx:index/thinking_sphinx:configure) - ideally you > shouldn't have to manually edit that file at all. > > Still, as long as it's working, hey? :) > > -- > Pat > > On 10/06/2009, at 9:08 PM, kc wrote: > > > > > > > Yes, I did. I finally found how to fix it. I had to add that to my > > development.sphinx.conf as well. So in that file I have: > > > searchd > > { > > ... > > max_matches = 100000 > > } > > > Now it doesnt complain anymore and returns that many matches. I > > imagine youd have to restart sphinx after making the above change, > > right? In any case, I did. > > > On Jun 10, 5:21 pm, Pat Allan <[email protected]> wrote: > >> Hi > > >> Have you restarted Sphinx since making the change to your sphinx.yml > >> file? > > >> -- > >> Pat > > >> On 10/06/2009, at 7:52 PM, kc wrote: > > >>> Hello, > > >>> Id like to set the max_matches to a higher value than the default. > >>> Ive changed it in config/sphinx.yml as follows: > >>> development: > >>> max_matches: 100000 > > >>> Then in my search call, I also set :max_matches => 100000 > > >>> However, I get the following error when I try to do the search: > >>> Riddle::ResponseError (searchd error (status: 1): per-query > >>> max_matches=100000 out of bounds (per-server max_matches=1000)): > > >>> Am I not setting another param somewhere correctly? > > >>> 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 -~----------~----~----~----~------~----~------~--~---
