From jerrieunion at gmail.com Tue Apr 5 17:34:16 2011 From: jerrieunion at gmail.com (Jerrie Union) Date: Tue, 5 Apr 2011 22:34:16 +0100 Subject: [Ferret-talk] Searching from a Lucene created Index Message-ID: 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 :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! From jk at jkraemer.net Tue Apr 5 19:36:23 2011 From: jk at jkraemer.net (Jens Kraemer) Date: Wed, 6 Apr 2011 01:36:23 +0200 Subject: [Ferret-talk] Searching from a Lucene created Index In-Reply-To: References: Message-ID: 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: > 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 :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! > > > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk -- Jens Kr?mer Finkenlust 14, 06449 Aschersleben, Germany VAT Id DE251962952 http://www.jkraemer.net/