I normally just run "rake ts:reindex" instead of rebuild.
On Tue, Jan 11, 2011 at 12:12 AM, pharkle <[email protected]> wrote: > Can anyone offer advice on a way to rebuild my index at the end of a > capistrano deployment? > > I am currently doing in the "after 'deploy:symlink'" section: > > run "cd #{current_path} && /usr/local/bin/rake thinking_sphinx:rebuild > RAILS_ENV=#{rails_env}" > > but at the end of the process I get > > ** [out :: 184.73.170.160] total 10 reads, 0.008 sec, 779.2 kb/call > avg, 0.8 msec/call avg > ** [out :: 184.73.170.160] total 28 writes, 0.014 sec, 580.1 kb/call > avg, 0.5 msec/call avg > ** [out :: 184.73.170.160] rake aborted! > ** [out :: 184.73.170.160] searchd is already running. > > I am able to get the right behavior by stopping ts, indexing, > sleeping, then starting ts again, but it seems like such a hack. Why > is rebuild dying right here? > > Thanks for any thoughts > > Alex > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
