sphinx:centos
home > recipes > sphinx > centos
Tasks
Task documentation
sphinx:centos:initscript
Setup sphinx initscript
Parameters
- sphinx_prefix
- Sphinx install prefix
- Defaults to
"/usr/local/sphinx" - sphinx_pid_path
- Directory to sphinx pid
- Defaults to
#{shared_path}/pids/searchd.pid - sphinx_conf_path
- Path to sphinx.conf
- Defaults to
#{shared_path}/config/sphinx.conf - sphinx_index_root
- Path to sphinx indexes
- Defaults to
#{shared_path}/var/index
sphinx:centos:install
Install sphinx.
Parameters
- sphinx_build_options
- Sphinx build options.
set :sphinx_build_options, { :url => "http://www.sphinxsearch.com/downloads/sphinx-0.9.7.tar.gz", :configure_options => "--with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql --prefix=#{sphinx_prefix}" } - sphinx_prefix
- Sphinx install prefix
- Defaults to
"/usr/local/sphinx"
sphinx:centos:setup
Setup sphinx for application.
Parameters
- sphinx_prefix
- Sphinx install prefix
- Defaults to
"/usr/local/sphinx" - sphinx_pid_path
- Directory to sphinx pid
- Defaults to
#{shared_path}/pids/searchd.pid - sphinx_conf_path
- Path to sphinx.conf
- Defaults to
#{shared_path}/config/sphinx.conf - sphinx_index_root
- Path to sphinx indexes
- Defaults to
#{shared_path}/var/index
ducktyper.com, 14th May 2008
Theme extended from Paul Battley