public class IndexUpdater extends java.lang.Object implements IIndexUpdater
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
IndexUpdater() |
Modifier and Type | Method and Description |
---|---|
void |
run(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path[] inputPaths,
org.apache.hadoop.fs.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.
|
public void run(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path[] inputPaths, org.apache.hadoop.fs.Path outputPath, int numMapTasks, Shard[] shards) throws java.io.IOException
IIndexUpdater
run
in interface IIndexUpdater
java.io.IOException
Copyright © 2009 The Apache Software Foundation