[Rails] Re: Thinking Sphinx can't find Sphinx.
Hi Jeff
I'm guessing that searchd and indexer aren't in your path by
default... not sure where Ubuntu puts them, though given your output
thus far, maybe /usr/local/sphinx/bin?
Thinking Sphinx doesn't create config/sphinx.yml by default - but
you'll probably need to create it yourself, then add a setting with
the bin_path pointing to the folder where searchd and indexer are
located:
development:
bin_path: "/usr/local/sphinx/bin"
If you're running the production environment instead, then you'll want
to change/add the setting for that as well - the format of sphinx.yml
is the same as database.yml - settings per environment.
One last thing - you don't want to use the default sphinx.conf -
Thinking Sphinx doesn't write to that file, it creates a new one, and
tells Sphinx to reference the new file as well. So make sure you've
stopped the Sphinx service that references that old file.
Cheers
--
Pat
On Feb 14, 9:29 am, Jeff Miller <li...@ruby-forum.com> wrote:
> Ah, ok sphinx starts. It was set to 0.0.0.0 by default, but is now set
> to 127.0.0.1:9312. However, my rails installation still can't see
> Sphinx...
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home