[英]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.