Using org.apache.nutch.indexer.IndexMerger (Nutch 0.7)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Using org.apache.nutch.indexer.IndexMerger (Nutch 0.7)

Chun Wei Ho

Could anyone let me know definitively if the
IndexMerger(NutchFileSystem nfs, File[] segments, File outputIndex,
File localWorkingDir) merge operation merges the segments and creates
a new index (overwrites any existing index) at outputIndex, or merges
the segments into the existing index at outputIndex.

If it overwrites, is there another method to merge segments into an
existing index without duplicating the existing index (i.e. copying
the existing index to a temporary area and specifying it as one of the
input segments to IndexMerger) ?

Thanks. I am using Nutch 0.7.