public class ShardWriter extends Object
构造器和说明 |
---|
ShardWriter(FileSystem fs,
Shard shard,
String tempDir,
IndexUpdateConfiguration iconf)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
void |
close()
Close the shard writer.
|
void |
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.
|
String |
toString() |
public ShardWriter(FileSystem fs, Shard shard, String tempDir, IndexUpdateConfiguration iconf) throws IOException
fs
- shard
- tempDir
- iconf
- IOException
public void process(IntermediateForm form) throws IOException
form
- the intermediate form containing deletes and a ram indexIOException
public void close() throws IOException
IOException
Copyright © 2009 The Apache Software Foundation