Mina for Thinking Sphinx
Install
Add the gem to application's Gemfile:
gem 'mina-thinking-sphinx', require: false
Run
bundle install
Add line to deploy.rb
require 'mina/ts'
Usage
Use commands in deploy.rb
:
task :deploy do
deploy do
...
on :launch do
invoke :'ts:rebuild'
end
end
end
List of available commands
ts:start
ts:stop
ts:restart
ts:rebuild
ts:index
ts:configure
ts:rt:rebuild
ts:rt:index
See Thinking Sphinx Tasks documentation for details.