I need run ts:reindex when smth add in model or destroy from model. How should I do this?
Using:
thinking-sphinx (2.0.11)
rails (3.1.3)
Take a look at deltas. You can read about them there http://freelancing-god.github.com/ts/en/deltas.html Cron job is an option also, but deltas much better, they simulate real-time index.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.