Class BlockTreeOrdsPostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.codecs.blocktreeords.BlockTreeOrdsPostingsFormat
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
Uses
OrdsBlockTreeTermsWriter
with Lucene90PostingsWriter
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Fixed packed block size, number of integers encoded in a single packed block.Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY
-
Constructor Summary
ConstructorDescriptionCreatesLucene41PostingsFormat
with default settings.BlockTreeOrdsPostingsFormat
(int minTermBlockSize, int maxTermBlockSize) CreatesLucene41PostingsFormat
with custom values forminBlockSize
andmaxBlockSize
passed to block terms dictionary. -
Method Summary
Modifier and TypeMethodDescriptionfieldsConsumer
(SegmentWriteState state) fieldsProducer
(SegmentReadState state) toString()
Methods inherited from class org.apache.lucene.codecs.PostingsFormat
availablePostingsFormats, forName, getName, reloadPostingsFormats
-
Field Details
-
BLOCK_SIZE
public static final int BLOCK_SIZEFixed packed block size, number of integers encoded in a single packed block.- See Also:
-
-
Constructor Details
-
BlockTreeOrdsPostingsFormat
public BlockTreeOrdsPostingsFormat()CreatesLucene41PostingsFormat
with default settings. -
BlockTreeOrdsPostingsFormat
public BlockTreeOrdsPostingsFormat(int minTermBlockSize, int maxTermBlockSize) CreatesLucene41PostingsFormat
with custom values forminBlockSize
andmaxBlockSize
passed to block terms dictionary.
-
-
Method Details
-
toString
- Overrides:
toString
in classPostingsFormat
-
fieldsConsumer
- Specified by:
fieldsConsumer
in classPostingsFormat
- Throws:
IOException
-
fieldsProducer
- Specified by:
fieldsProducer
in classPostingsFormat
- Throws:
IOException
-