org.apache.hadoop.contrib.index.mapred
Interface IIndexUpdater

All Known Implementing Classes:
IndexUpdater

public interface IIndexUpdater

A class implements an index updater interface should create a Map/Reduce job configuration and run the Map/Reduce job to analyze documents and update Lucene instances in parallel.


Method Summary
 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.
 

Method Detail

run

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 IOException
Create a Map/Reduce job configuration and run the Map/Reduce job to analyze documents and update Lucene instances in parallel.

Parameters:
conf -
inputPaths -
outputPath -
numMapTasks -
shards -
Throws:
IOException


Copyright © 2009 The Apache Software Foundation