J
John Pritchard-williams
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.newpath => 'index', :create=>false);
index.search_each('thane') do |doc,score|
puts doc, score
end
index.close
-- end
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.newpath => 'index', :create=>false);
index.search_each('thane') do |doc,score|
puts doc, score
end
index.close
-- end