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 - IOExceptionpublic void process(IntermediateForm form) throws IOException
form - the intermediate form containing deletes and a ram indexIOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation