org.apache.nutch.indexer
Class IndexMerger
java.lang.Object
org.apache.nutch.indexer.IndexMerger
- public class IndexMerger
- extends Object
IndexMerger creates an index for the output corresponding to a
single fetcher run.
- Author:
- Doug Cutting, Mike Cafarella
Method Summary |
static void |
main(String[] args)
Create an index for the input files in the named directory. |
void |
merge()
Load all input segment indices, then add to the single output index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final Logger LOG
DONE_NAME
public static final String DONE_NAME
- See Also:
- Constant Field Values
IndexMerger
public IndexMerger(NutchFileSystem nfs,
File[] segments,
File outputIndex,
File localWorkingDir)
throws IOException
- Merge all of the segments given
merge
public void merge()
throws IOException
- Load all input segment indices, then add to the single output index
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Create an index for the input files in the named directory.
- Throws:
Exception
Copyright © 2006 The Apache Software Foundation