Sphinx

How do I install Sphinx on my server to use ThinkingSphinx?

You'll simply need to SSH into your server and run the following commands

# Install Sphinx
sudo apt install sphinxsearch

# Configure and start Thinking Sphinx for your app
cd /home/deploy/myapp
bin/rails ts:configure
bin/rails ts:start
bin/rails ts:rebuild

Last updated