search for: add_read

Displaying 2 results from an estimated 2 matches for "add_read".

Did you mean: add_head
2008 Jan 09
5
Parallel indexing doesn''t work?
...0") readers << IndexReader.new("/tmp/1") readers << IndexReader.new("/tmp/2") readers << IndexReader.new("/tmp/3") readers << IndexReader.new("/tmp/4") index_writer = IndexWriter.new(:path => "/tmp/test") index_writer.add_readers(readers) index_writer.close() readers.each {|reader| reader.close()} i = Ferret::I.new(:path => ''/tmp/test'') res = i.search(''name*'') puts res.inspect # gives me: #<struct Ferret::Search::TopDocs total_hits=0, hits=[], max_score=0.0, searcher=#<Fer...
2007 Feb 28
2
Ferret quick dump&load
Hello Dave, Hello all, Some weeks ago, Maz submit a patch to quickly dump or load a ferret database in an other format to prevent index rebuilding (due to changes in the format) or to simplify backup/replication tasks. I re-paste this patch (it was against the 0.10.14) here : http://pastie.caboo.se/43603 Do you think it''s intresting for ferret ? Do you have any plan for this patch ?