程序包 | 说明 |
---|---|
org.apache.hadoop.contrib.index.lucene | |
org.apache.hadoop.contrib.index.mapred |
限定符和类型 | 方法和说明 |
---|---|
void |
ShardWriter.process(IntermediateForm form)
Process an intermediate form by carrying out, on the Lucene instance of
the shard, the deletes and the inserts (a ram index) in the form.
|
限定符和类型 | 方法和说明 |
---|---|
int |
IndexUpdatePartitioner.getPartition(Shard key,
IntermediateForm value,
int numPartitions) |
void |
IntermediateForm.process(IntermediateForm form)
This method is used by the index update combiner and process an
intermediate form into the current intermediate form.
|
限定符和类型 | 方法和说明 |
---|---|
void |
IndexUpdateMapper.map(K key,
V value,
OutputCollector<Shard,IntermediateForm> output,
Reporter reporter)
Map a key-value pair to a shard-and-intermediate form pair.
|
void |
IndexUpdateCombiner.reduce(Shard key,
Iterator<IntermediateForm> values,
OutputCollector<Shard,IntermediateForm> output,
Reporter reporter) |
void |
IndexUpdateCombiner.reduce(Shard key,
Iterator<IntermediateForm> values,
OutputCollector<Shard,IntermediateForm> output,
Reporter reporter) |
void |
IndexUpdateReducer.reduce(Shard key,
Iterator<IntermediateForm> values,
OutputCollector<Shard,Text> output,
Reporter reporter) |
Copyright © 2009 The Apache Software Foundation