Ah, I didn't think of this... I'll have to add a patch to allow people to explicitly set a version.
The quick fix is to install Sphinx on each of your servers. It won't get used on any beyond your explicit Sphinx server, but at least your app will know which version you're using. Sorry for the hassle. -- Pat On 22/12/2009, at 7:10 PM, kc wrote: > Hello, > > I recently installed thinking_sphinx 1.3.9 and riddle 1.0.8 on a set > of servers. I get the following warning message in my server logs > whenever a search is conducted: > > Riddle cannot detect Sphinx on your machine, and so can't determine > which > version of Sphinx you are planning on using. Please use one of the > following > lines after "require 'riddle'" to avoid this warning. > > require 'riddle/0.9.8' > # or > require 'riddle/0.9.9' > > The server setup is as follows: > 1. a server with our Rails app + apache - all http requests come here. > 2. a db server > 3. a server with sphinx installed. Our Rails app gets deployed here > as well, but no http requests hit this box. We rebuild our sphinx > index by running the thinking_sphinx rake task on this box. A riddle > client on server #1 hits the sphinx searchd process on server #3 for > all end user searches. > > All functionality seems to be fine - when a user searches, the search > succeeds and returns the relevant results. But each time a search is > run, server #1 logs the above warning. What can be done to get rid of > the warning? In which file should I add the require statement? > > Thanks > > kc > > -- > > 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.
