org.apache.nutch.indexer
Class Indexer

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.nutch.indexer.Indexer
All Implemented Interfaces:
Configurable, Tool

public class Indexer
extends Configured
implements Tool

Create indexes for segments.


Field Summary
static String DONE_NAME
           
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
Indexer()
           
Indexer(Configuration conf)
           
 
Method Summary
 void index(Path luceneDir, Path crawlDb, Path linkDb, List<Path> segments)
           
static void main(String[] args)
           
 int run(String[] args)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

DONE_NAME

public static final String DONE_NAME
See Also:
Constant Field Values

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

Indexer

public Indexer()

Indexer

public Indexer(Configuration conf)
Method Detail

index

public void index(Path luceneDir,
                  Path crawlDb,
                  Path linkDb,
                  List<Path> segments)
           throws IOException
Throws:
IOException

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
Throws:
Exception


Copyright © 2006 The Apache Software Foundation