public class IndexUpdater extends 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(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.
|
public void run(Configuration conf, Path[] inputPaths, Path outputPath, int numMapTasks, Shard[] shards) throws IOException
IIndexUpdater
run
in interface IIndexUpdater
IOException
Copyright © 2010 The Apache Software Foundation