public class DocsFreqBlockIndexOutput extends BlockIndexOutput
BlockIndexOutput
for the .doc file of the SIREn
postings format.Modifier and Type | Class and Description |
---|---|
class |
DocsFreqBlockIndexOutput.DocsFreqBlockWriter
Implementation of the
BlockWriter for the .doc file. |
BlockIndexOutput.BlockWriter, BlockIndexOutput.Index
logger, out
Constructor and Description |
---|
DocsFreqBlockIndexOutput(org.apache.lucene.store.IndexOutput out,
int maxBlockSize,
BlockCompressor docCompressor,
BlockCompressor freqCompressor) |
Modifier and Type | Method and Description |
---|---|
DocsFreqBlockIndexOutput.DocsFreqBlockWriter |
getBlockWriter()
Create a new
BlockIndexOutput.BlockWriter associated to this
BlockIndexOutput . |
close, index
public DocsFreqBlockIndexOutput(org.apache.lucene.store.IndexOutput out, int maxBlockSize, BlockCompressor docCompressor, BlockCompressor freqCompressor) throws IOException
IOException
public DocsFreqBlockIndexOutput.DocsFreqBlockWriter getBlockWriter()
BlockIndexOutput
BlockIndexOutput.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 BlockIndexOutput
Copyright © 2014. All rights reserved.