[英]Rails: Integration testing thinking_sphinx with cucumber and webrat - how do I index transactional fixtures?
[英]Rails and thinking_sphinx when I should do reindex?
當smth在模型中添加或從模型中銷毀時,我需要運行ts:reindex。 我該怎么做?
使用:
thinking-sphinx (2.0.11)
rails (3.1.3)
看看三角洲。 你可以在那里閱讀它們http://freelancing-god.github.com/ts/en/deltas.html Cron job也是一個選項,但是deltas要好得多,它們模擬實時索引。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.