Try rebuilding your index like the following:

> ruby script/console

>> MyModel.rebuild_index


Charlie

Raj Singh wrote:
> Everything was working fine till last night. This morning I have many 
> errors.
> I am using acts_as_ferret. Last updated around a month ago on linux. 
> There are two different type of exceptions. I have over 12 exception 
> emails but these are the two distince types.
> 
> First exception:
> 
> A EOFError occurred in home#event_info:
> 
>  End-of-File Error occured at <except.c>:79 in xraise
> Error occured in store.c:216 - is_refill
>        current pos = 778, file length = 778
> 
> 
>  /usr/local/lib/ruby/site_ruby/1.8/ferret/index.rb:517:in `close'
> 
> 
> Second exception:
> A Ferret::Store::Lock::LockError occurred in home#event_info:
> 
>  Lock Error occured at <except.c>:103 in xpop_context
> Error occured in index.c:5372 - iw_open
>        Couldn't obtain write lock when opening IndexWriter
> 
> 
>  /usr/local/lib/ruby/site_ruby/1.8/ferret/index.rb:656:in `initialize'


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to