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) |
FieldsProducer |
fieldsProducer(SegmentReadState state) |
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
fieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class PostingsFormatIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.