edu.umd.cloud9.collection.trec
Class BuildTrecForwardIndex
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.trec.BuildTrecForwardIndex
- All Implemented Interfaces:
- Configurable, Tool
public class BuildTrecForwardIndex
- extends Configured
- implements Tool
Tool for building a document forward index for TREC collections. Sameple
Invocation:
hadoop jar cloud9.jar edu.umd.cloud9.collection.trec.BuildTrecForwardIndex \
/umd-lin/shared/collections/trec/trec4-5_noCRFR.xml /tmp/findex/ \
/umd-lin/shared/collections/trec4-5_noCRFR.findex.dat \
/umd-lin/shared/indexes/trec/docno-mapping.dat
- Author:
- Jimmy Lin
|
Method Summary |
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the
ToolRunner. |
int |
run(String[] args)
Runs this tool. |
BuildTrecForwardIndex
public BuildTrecForwardIndex()
run
public int run(String[] args)
throws Exception
- Runs this tool.
- Specified by:
run in interface Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Dispatches command-line arguments to the tool via the
ToolRunner.
- Throws:
Exception