Searching from a Lucene created Index

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:innew’
from (irb):7

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

Help is appreciated :slight_smile:

Ferret::VERSION = 0.11.6

Thanks!

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
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk


Jens Krmer
Finkenlust 14, 06449 Aschersleben, Germany
VAT Id DE251962952