edu.umd.cloud9.collection.aquaint2
Class Aquaint2ForwardIndexBuilder

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by 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

Constructor Summary
Aquaint2ForwardIndexBuilder()
           
 
Method Summary
static void main(String[] args)
          Dispatches command-line arguments to the tool via the ToolRunner.
 int run(String[] args)
          Runs this tool.
 int runTool(Configuration config, String collectionPath, String outputPath, String indexFile, String mappingFile)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

Aquaint2ForwardIndexBuilder

public Aquaint2ForwardIndexBuilder()
Method Detail

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