public class Ords41PostingsFormat extends PostingsFormat
OrdsBlockTreeTermsWriter with Lucene41PostingsWriter.| 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 |
|---|
Ords41PostingsFormat()
Creates
Lucene41PostingsFormat with default
settings. |
Ords41PostingsFormat(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)
Writes a new segment
|
FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment.
|
String |
toString() |
availablePostingsFormats, forName, getName, reloadPostingsFormatspublic static final int BLOCK_SIZE
public Ords41PostingsFormat()
Lucene41PostingsFormat with default
settings.public Ords41PostingsFormat(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
PostingsFormatfieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
PostingsFormatfieldsProducer in class PostingsFormatIOExceptionCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.