起因:
有一文章系统,用acts_as_ferret做了全文检索,在搜索时并无问题,但在浏览者有评论时按要求去更新文章相关的最后评论时间等字段时就会发生如下错误
ruby 代码
- Ferret::FileNotFoundError (File Not Found Error occured at <except.c>:117 in xpop_context
- Error occured in fs_store.c:329 - fs_open_input
- tried to open "/article/public/../config/../index/production/news/_kg_2.del" but it doesn't exist: <No such file or directory>
- ):
看起来是因为Ferret不能正确更新检索导致的,看了acts_as_ferret的文档说是要是Drb来解决,但不知道这个Drb怎么使用
希望大家帮助一下