Hi David,

The same thing just happened to me yesterday.  The response I received
on this list is that there is no way to fix it other than rebuilding
the index.  As a result, I had to disable searching on my site as I
look for an alternative.  I personally am looking into another
solution for searching since I can't afford to have my index become
corrupt even once.  Ferret is great though when it works so I may
revisit it in the future.

Good luck,
Tom

On 11/24/06, David Wennergren <[EMAIL PROTECTED]> wrote:
> We've been running Ferret for a few months on our site with great
> result. But, just a monent ago the index suddenly became corrupt.
>
> It all started with this error message:
>
>  :108250 is out of range [0..108183] for IndexWriter#[]
>  /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.9/lib/ferret/index.rb:382:in
> `[]'
>
> And after that every search resulted in this error:
>
> A IOError occurred in search#rss:
>
>  IO Error occured at <except.c>:79 in xraise
> Error occured in fs_store.c:323 - fs_open_input
>        couldn't create InStream
> /home/newsdesk_prod/current/config/../index/production/pressrelease/_2tap.fdt:
> <No such file or directory>
>
>  /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.9/lib/ferret/index.rb:679:in
> `initialize'
>
> I couldn't find any other solution than rebuilding the index, which
> takes a few hours...
>
> Has anyone experienced anything similar? Is there any way to repair the
> index without rebuilding it?
>
> Thanks a lot for any help or advice!
>
> /David Wennergren
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
>


-- 
Tom Davies

http://atomgiant.com
http://gifthat.com
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to