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()
All all input indexes 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 org.apache.commons.logging.Log LOG
DONE_NAME
public static final String DONE_NAME
- See Also:
- Constant Field Values
IndexMerger
public IndexMerger(FileSystem fs,
Path[] indexes,
Path outputIndex,
Path localWorkingDir,
Configuration conf)
throws IOException
- Merge all of the indexes given
merge
public void merge()
throws IOException
- All all input indexes 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