public class PosBlockIndexOutput extends BlockIndexOutput
BlockIndexOutput for the .pos file of the SIREn
postings format.| Modifier and Type | Class and Description |
|---|---|
protected class |
PosBlockIndexOutput.PosBlockWriter
Implementation of the
BlockWriter for the .pos file. |
BlockIndexOutput.BlockWriter, BlockIndexOutput.Indexlogger, out| Constructor and Description |
|---|
PosBlockIndexOutput(org.apache.lucene.store.IndexOutput out,
int maxBlockSize,
BlockCompressor posCompressor) |
| Modifier and Type | Method and Description |
|---|---|
PosBlockIndexOutput.PosBlockWriter |
getBlockWriter()
Create a new
BlockIndexOutput.BlockWriter associated to this
BlockIndexOutput. |
close, indexpublic PosBlockIndexOutput(org.apache.lucene.store.IndexOutput out,
int maxBlockSize,
BlockCompressor posCompressor)
throws IOException
IOExceptionpublic PosBlockIndexOutput.PosBlockWriter getBlockWriter()
BlockIndexOutputBlockIndexOutput.BlockWriter associated to this
BlockIndexOutput.
You should ensure to flush all BlockIndexOutput.BlockWriter before closing the
BlockIndexOutput.
More than one BlockIndexOutput.BlockWriter can be instantiated by a
BlockIndexOutput. Usually one writer is instantiated for each term.
getBlockWriter in class BlockIndexOutputCopyright © 2014. All rights reserved.