edu.umd.cloud9.collection.trec
Class BuildTrecForwardIndex2
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.trec.BuildTrecForwardIndex2
- All Implemented Interfaces:
- Configurable, Tool
public class BuildTrecForwardIndex2
- extends Configured
- implements Tool
Tool for building a document forward index for TREC collections. Sample Invocation:
setenv HADOOP_CLASSPATH "/foo/cloud9-x.y.z.jar:/foo/guava-r09.jar"
hadoop jar cloud9-x.y.z.jar edu.umd.cloud9.collection.trec.BuildTrecForwardIndex2 \
-libjars=guava-r09.jar \
/shared/collections/trec/trec4-5_noCRFR.xml \
/user/jimmylin/tmp \
/user/jimmylin/findex.dat \
/user/jimmylin/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. |
BuildTrecForwardIndex2
public BuildTrecForwardIndex2()
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