Hi Pat, Yes, if I take max_matches out of sphinx it will work but that is, of course, after I remove the call for max_match from the controller. If I don't remove that it will naturally throw a out of bounds error.
The cucumber error is that it doesn't find any projects when it actually does the search. If I remove the max_matches along with the calls for it from the controller it will pass fine. I also have a cucumber test just previous to the search verifying that there are projects and that TS is indexed. Thanks Derek On Apr 1, 11:56 pm, Pat Allan <[email protected]> wrote: > Just to confirm - if you take max_matches out of sphinx.yml, does everything > start working again? > > What's the cucumber error? > > -- > Pat > > On 01/04/2010, at 1:35 AM, dwickwire wrote: > > > > > Hello, > > > I have been using cucumber successfully with thinking_sphinx for a > > long time but I had to implement a sphinx.yml file in order to add > > max_matches so my searching would return a full list of results. > > > Since I have added max_matches to the yml, cucumber can not pass > > search tests any more. It still works in a browser but cucumber is > > failing with no projects found. (I have verified that there are > > projects before it searches) > > > To add to mix, a colleague of mine with the exact same code-base and > > DB set up running Mac OSX 10 can run it fine. I'm on Ubuntu 9.10. > > > We have the same version of Sphinx (0.9.8.1 r1533), Thinking Sphinx > > gem (1.3.16), cucumber (0.6.2) and most of the other relevant gems. > > I'm at a stand still with this, any ideas? > > > 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 > > athttp://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.
