public class BlockTreeOrdsPostingsFormat extends PostingsFormat
OrdsBlockTreeTermsWriter
with Lucene84PostingsWriter
.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, reloadPostingsFormats
public 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 PostingsFormat
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer
in class PostingsFormat
IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer
in class PostingsFormat
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.