public class IndexUpdater extends Object implements IIndexUpdater
| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| 构造器和说明 |
|---|
IndexUpdater() |
| 限定符和类型 | 方法和说明 |
|---|---|
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
IIndexUpdaterrun 在接口中 IIndexUpdaterIOExceptionCopyright © 2009 The Apache Software Foundation