edu.umd.cloud9.collection
Class DocumentForwardIndexHttpServer

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by edu.umd.cloud9.collection.DocumentForwardIndexHttpServer
All Implemented Interfaces:
Configurable, Tool

public class DocumentForwardIndexHttpServer
extends Configured
implements Tool

Web server for providing access to documents in a collection.

Author:
Jimmy Lin

Nested Class Summary
static class DocumentForwardIndexHttpServer.FetchDocidServlet
           
static class DocumentForwardIndexHttpServer.FetchDocnoServlet
           
static class DocumentForwardIndexHttpServer.HomeServlet
           
 
Field Summary
static String INDEX_OPTION
           
static String MAPPING_OPTION
           
 
Method Summary
static void main(String[] args)
          Dispatches command-line arguments to the tool via the ToolRunner.
 int run(String[] args)
           
 
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
 

Field Detail

INDEX_OPTION

public static final String INDEX_OPTION
See Also:
Constant Field Values

MAPPING_OPTION

public static final String MAPPING_OPTION
See Also:
Constant Field Values
Method Detail

run

public int run(String[] args)
        throws Exception
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