public class Aquaint2ForwardIndexBuilder
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Tool for building a document forward index for AQUAINT2 collections. Sameple Invocation:
hadoop jar cloud9.jar edu.umd.cloud9.collection.aquaint2.BuildAquaint2ForwardIndex \ /umd-lin/shared/collections/aquaint2/aquaint24-5_noCRFR.xml /tmp/findex/ \ /umd-lin/shared/collections/aquaint24-5_noCRFR.findex.dat \ /umd-lin/shared/indexes/aquaint2/docno-mapping.dat
| Constructor and Description |
|---|
Aquaint2ForwardIndexBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the
ToolRunner. |
int |
run(String[] args)
Runs this tool.
|
int |
runTool(org.apache.hadoop.conf.Configuration config,
String collectionPath,
String outputPath,
String indexFile,
String mappingFile) |
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic int runTool(org.apache.hadoop.conf.Configuration config,
String collectionPath,
String outputPath,
String indexFile,
String mappingFile)
throws Exception
ExceptionCopyright © 2015. All rights reserved.