Displaying 1 result from an estimated 1 matches for "inrepositorypath".
2006 May 02
4
Indexing Speed?
...ve noticed that ferret takes ~463 seconds to index 200Mb of docs,
whereas lucene takes ~60 seconds.
I''m using the standard "get you started" sort of code provided by both
libraries.
My ruby code is: (abridged)
@index = Index::Index.new(:path => inIndexPath)
def createIndex(inRepositoryPath)
Find.find(inRepositoryPath) do |path|
if FileTest.file?(path)
File.open(path) do |file|
@index.add_document(:file =>path, :content =>
file.readlines)
end
My Java code is basically a direct port.
Has anyone else noticed this difference in speed? Am I...