public class BlockTreeOrdsPostingsFormat extends PostingsFormat
OrdsBlockTreeTermsWriter with Lucene50PostingsWriter.| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_SIZE
Fixed packed block size, number of integers encoded in
a single packed block.
|
EMPTY| Constructor and Description |
|---|
BlockTreeOrdsPostingsFormat()
Creates
Lucene41PostingsFormat with default
settings. |
BlockTreeOrdsPostingsFormat(int minTermBlockSize,
int maxTermBlockSize)
Creates
Lucene41PostingsFormat with custom
values for minBlockSize and maxBlockSize passed to block terms dictionary. |
| Modifier and Type | Method and Description |
|---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state) |
FieldsProducer |
fieldsProducer(SegmentReadState state) |
String |
toString() |
availablePostingsFormats, forName, getName, reloadPostingsFormatspublic static final int BLOCK_SIZE
public BlockTreeOrdsPostingsFormat()
Lucene41PostingsFormat with default
settings.public BlockTreeOrdsPostingsFormat(int minTermBlockSize,
int maxTermBlockSize)
Lucene41PostingsFormat with custom
values for minBlockSize and maxBlockSize passed to block terms dictionary.public String toString()
toString in class PostingsFormatpublic FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class PostingsFormatIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.