I just installed Sphinx (distro: archlinux) downloading the source. Then I installed \"Thinking Sphinx\" plugin for Rails.
I followed the official page setup and thi
For anybody trying to get Sphinx and thinking_sphinx working on windows, your
config/sphinx.yml
should look something like this:
development:
bin_path: "C:/Sphinx/bin"
you need to configure in your yaml file bin_path: /usr/bin/sphinx-searchd
There are two things that help solving the problem. First, it is useful to update the Thinking Sphinx plugin/gem version. I had this problem with an older version (1.3.16) of ThinkingSphinx. After an update to the latest version for Rails 2, 1.4.11, the number of warnings was smaller. You can determine the current version with rake thinking_sphinx:version
. It is possible to update the plugin version with
curl -L https://github.com/freelancing-god/thinking-sphinx/tarball/v1.4.11 \
-o thinking-sphinx.tar.gz
tar -xvf thinking-sphinx.tar.gz -C plugins
mv plugins/* your_project/vendor/plugins/thinking-sphinx
Second, it is often helpful to specify the version of the Thinking Sphinx plugin/gem in the configuration file, especially if Sphinx is running on a remote server and the ThinkingSphinx plugin can not determine which Sphinx version is running locally.
production:
..
version: 2.0.4 # Version of Sphinx on remote server 192.168.1.4
port: 9312
address: 192.168.1.4