2007-08-22
acts_as_ferret 在使用中无法更新
关键字: acts_as_ferret起因:
有一文章系统,用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怎么使用
希望大家帮助一下
- 10:49
- 浏览 (1117)
- 评论 (5)
- 分类: Ruby On Rails
- 进入论坛
- 相关推荐
评论
myxex
2007-08-30
刚好遇上类似问题,现在解决了,感谢lz。
derk
2007-08-24
derk 写道
同问 怎么解决的?
winxp production怎么启动ferret?
winxp production怎么启动ferret?
自问自答一回
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer
http://www.pluitsolutions.com/2007/07/30/acts-as-ferret-drbserver-win32-service/
lz的问题
http://projects.jkraemer.net/acts_as_ferret/ticket/90
06/19/07 10:30:16 changed by jk ¶
to resolve the errors when using rm_rf, close the ferret index before:
Model.aaf_index.close
derk
2007-08-24
同问 怎么解决的?
winxp production怎么启动ferret?
winxp production怎么启动ferret?
cvu
2007-08-22
说说怎么解决的
thundercao
2007-08-22
已解决
- 浏览: 8182 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
Rails单元测试的一点点疑 ...
试试看
-- by thundercao -
Rails单元测试的一点点疑 ...
check out http://dev.rubyonrails.org/tic ...
-- by Readonly -
Rails单元测试的一点点疑 ...
外键的作用无外乎是保证数据完备,这些可以用程序做到。而且,使用数据库这些特性的话 ...
-- by dogstar -
Rails单元测试的一点点疑 ...
似乎Rails有意在回避这个问题。他都没有内置对外键的自动支持。
-- by pig345 -
acts_as_ferret 在使用中 ...
刚好遇上类似问题,现在解决了,感谢lz。
-- by myxex






评论排行榜