From: Florian Gilcher Date: 2008-11-03T07:20:04+09:00 Subject: Re: Trying to open a Lucene-built index with Ferret... As far as i know, Ferret-built indexes are not binary-compatible with Lucene anymore. To find out the version, open a console and type: gem list ferret the highest version behind the ferret gem is the one in use. Regards, Florian Gilcher On Nov 2, 2008, at 11:03 PM, John Pritchard-williams wrote: > But its wipes out the existing index and creates a new empty one - the > pages for Ferret are currently unavailable - just wondering anybody > else > has come across this? Is the 'create=>false' just not working or do I > have it wrong here ? ( I have also tried : create=>'false' - still > the > same thing). > > Cheers > > John > > How do I get the version of Ferret I'm using by the way - I would have > posted that here if I knew how ! > > -- Search.rb -- > require 'rubygems' > require 'ferret' > > index=Ferret::I.new(:path => 'index', :create=>false); > index.search_each('thane') do |doc,score| > puts doc, score > end > index.close > -- end > -- > Posted via http://www.ruby-forum.com/. >