sphinxsearchHow do I install Sphinx Search?
- Download the latest version of Sphinx Search from sphinxsearch.com.
- Extract the downloaded package and
cd
into its directory:
tar -xzvf sphinx-2.2.11-release.tar.gz
cd sphinx-2.2.11-release
- Run
./configure
with the desired options:
./configure --prefix=/usr/local/sphinx --with-mysql
- Compile and install Sphinx Search:
make
make install
- Create a configuration file:
cp /usr/local/sphinx/etc/sphinx.conf.dist /usr/local/sphinx/etc/sphinx.conf
- Start the searchd daemon:
/usr/local/sphinx/bin/searchd --config /usr/local/sphinx/etc/sphinx.conf
- Now you can connect to the searchd daemon and issue queries:
/usr/local/sphinx/bin/search --config /usr/local/sphinx/etc/sphinx.conf "test"
Output example
Sphinx 2.2.11-id64-release (rel22-r5006)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/usr/local/sphinx/etc/sphinx.conf'...
index 'test1': query 'test ': returned 0 matches of 0 total in 0.000 sec
More of Sphinxsearch
- How do I write a Sphinxsearch query to index my data?
- How do I use the word count ranker in SphinxSearch?
- How do I use Sphinxsearch with Zsh?
- How do I install Sphinxsearch 3 on Ubuntu?
- How do I integrate Sphinxsearch with Yii2?
- How can I use SphinxSearch and Zabbix together to monitor my system?
- How do I configure SphinxSearch using YAML?
- How do I use SphinxSearch with XMLPipe2?
- How can I set up SphinxSearch to work with Yandex?
- How do I configure SphinxSearch to ignore certain stop words?
See more codes...