Hi Apirak When you run ts:index, it should reload the data into the running daemon automatically. What's the output of the index task?
Cheers -- Pat On 07/12/2008, at 4:38 PM, Apirak wrote: > > Thnk Henrik Nyh > > When I have only ts:index with out ts:stop and ts:start. I can't > search my new media. > Is it happen because of cache? > > Thanks > > On Dec 7, 12:07 am, "Henrik Nyh" <[EMAIL PROTECTED]> wrote: >> Just run the index task, no need to stop and start. >> >> On Sat, Dec 6, 2008 at 1:44 PM, Apirak <[EMAIL PROTECTED]> wrote: >> >>> Hi All >> >>> I stop and start Thinking sphinx every 10 min for Reindex. When >>> Thnking sphinx stop user will get error message from rails. Is it >>> possible to reindex with out stop and start Thinking sphinx. >> >>> I reindex sphinx by crontab >> >>> */5 * * * * /var/www/mediawrap/script/re_index.sh >> /var/www/ >>> mediawrap/log/re_index.log 2>&1 >> >>> call this script (re_index.sh) >> >>> #!/bin/bash >>> #script to re-index TS >>> PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11 >>> cd /var/www/mediawrap >>> /usr/bin/rake ts:index RAILS_ENV=production >>> /usr/bin/rake ts:stop RAILS_ENV=production >>> /usr/bin/rake ts:start RAILS_ENV=production >> >>> Thanks > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
