edu.umd.cloud9.collection.aquaint2
Class Aquaint2ForwardIndexBuilder
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.aquaint2.Aquaint2ForwardIndexBuilder
- All Implemented Interfaces:
- Configurable, Tool
public class Aquaint2ForwardIndexBuilder
- extends Configured
- implements 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
- Author:
- Jimmy Lin
Aquaint2ForwardIndexBuilder
public Aquaint2ForwardIndexBuilder()
run
public int run(String[] args)
throws Exception
- Runs this tool.
- Specified by:
run in interface Tool
- Throws:
Exception
runTool
public int runTool(Configuration config,
String collectionPath,
String outputPath,
String indexFile,
String mappingFile)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Dispatches command-line arguments to the tool via the
ToolRunner.
- Throws:
Exception