Forum: Ferret Searching from a Lucene created Index

Posted by Jerrie Union (Guest)
on 2011-04-05 23:40
(Received via mailing list)
Hi,

I'm trying to open a Index created by Lucene 1.9.1. I know the index has 
not been
corrupted, I can browse it with Luke but when I try:
irb> Ferret::Index::IndexReader.new("./index'")

I get the following error message:
Ferret::FileNotFoundError: File Not Found Error occured at <except.c>:93 
in xraise
Error occured in index.c:840 - sis_find_segments_file
  couldn't find segments file


  from (irb):7:in `initialize'
  from (irb):7:in `new'
  from (irb):7

the segments file is inside ./index but something get wrong.

Help is appreciated :)

Ferret::VERSION = 0.11.6

Thanks!
Posted by Jens Krämer (jkraemer)
on 2011-04-06 02:03
(Received via mailing list)
Hi,

as far as I remember compatibility with Lucene indexes has been dropped 
at some point in time (around Ferret versions 0.9.x or maybe even 
earlier).


Cheers,
Jens


On 05.04.2011, at 23:34, Jerrie Union wrote:

>
>
> Thanks!
>
>
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk

--
Jens Krmer
Finkenlust 14, 06449 Aschersleben, Germany
VAT Id DE251962952
http://www.jkraemer.net/
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.