Hi

Reading through the Deploying With Capistrano section in 
http://pat.github.io/thinking-sphinx/deployment.html page, I get an 
impression that the code included to stop ts/start ts/symlink indexes on 
deploy applies only to ThinkingSphinx v1/v2 and not to v3, as it is 
indented under the ThinkingSphinx v1/v2 header. Is this correct?

The following code should be included while using v3 as well, right?

before 'deploy:update_code', 'thinking_sphinx:stop'after  'deploy:update_code', 
'thinking_sphinx:start'
namespace :sphinx do
  desc "Symlink Sphinx indexes"
  task :symlink_indexes, :roles => [:app] do
    run "ln -nfs #{shared_path}/db/sphinx #{release_path}/db/sphinx"
  endend
after 'deploy:finalize_update', 'sphinx:symlink_indexes'


Thanks,
Prakash

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to