org.apache.hadoop.contrib.index.mapred
Class IndexUpdater
java.lang.Object
   org.apache.hadoop.contrib.index.mapred.IndexUpdater
org.apache.hadoop.contrib.index.mapred.IndexUpdater
- All Implemented Interfaces: 
- IIndexUpdater
- public class IndexUpdater 
- extends Object- implements IIndexUpdater
An implementation of an index updater interface which creates a Map/Reduce
 job configuration and run the Map/Reduce job to analyze documents and update
 Lucene instances in parallel.
| Field Summary | 
| static org.apache.commons.logging.Log | LOG
 | 
 
 
| Method Summary | 
|  void | run(Configuration conf,
    Path[] inputPaths,
    Path outputPath,
    int numMapTasks,
    Shard[] shards)Create a Map/Reduce job configuration and run the Map/Reduce job to
 analyze documents and update Lucene instances in parallel.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LOG
public static final org.apache.commons.logging.Log LOG
IndexUpdater
public IndexUpdater()
run
public void run(Configuration conf,
                Path[] inputPaths,
                Path outputPath,
                int numMapTasks,
                Shard[] shards)
         throws IOException
- Description copied from interface: IIndexUpdater
- Create a Map/Reduce job configuration and run the Map/Reduce job to
 analyze documents and update Lucene instances in parallel.
 
- 
- Specified by:
- runin interface- IIndexUpdater
 
- 
- Throws:
- IOException
 
Copyright © 2009 The Apache Software Foundation