Skip to content

Instantly share code, notes, and snippets.

@pawel2105
Last active December 21, 2015 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pawel2105/6268555 to your computer and use it in GitHub Desktop.
Save pawel2105/6268555 to your computer and use it in GitHub Desktop.
How to install Sphinx 0.9.8 on Ubuntu or OSX
curl -O http://sphinxsearch.com/files/sphinx-0.9.8-rc2.tar.gz
tar -zxvf sphinx-0.9.8-rc2.tar.gz
cd sphinx-0.9.8-rc2
./configure
make
sudo make install
bundle exec rake thinking_sphinx:configure
bundle exec rake thinking_sphinx:index
bundle exec rake thinking_sphinx:start
development:
port: 3312
pid_file: log/searchd.pid
config_file: <%= Rails.root.join('config', 'development.sphinx.conf') %>
searchd_file_path: db/sphinx/development
max_matches: 30000
query_log_file: log/searchd.query.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment