Class BlockTreeOrdsPostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.codecs.blocktreeords.BlockTreeOrdsPostingsFormat
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
Uses
OrdsBlockTreeTermsWriter with Lucene101PostingsWriter.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFixed packed block size, number of integers encoded in a single packed block.Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionCreatesLucene41PostingsFormatwith default settings.BlockTreeOrdsPostingsFormat(int minTermBlockSize, int maxTermBlockSize) CreatesLucene41PostingsFormatwith custom values forminBlockSizeandmaxBlockSizepassed 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()CreatesLucene41PostingsFormatwith default settings. -
BlockTreeOrdsPostingsFormat
public BlockTreeOrdsPostingsFormat(int minTermBlockSize, int maxTermBlockSize) CreatesLucene41PostingsFormatwith custom values forminBlockSizeandmaxBlockSizepassed to block terms dictionary.- See Also:
-
-
Method Details
-
toString
- Overrides:
toStringin classPostingsFormat
-
fieldsConsumer
- Specified by:
fieldsConsumerin classPostingsFormat- Throws:
IOException
-
fieldsProducer
- Specified by:
fieldsProducerin classPostingsFormat- Throws:
IOException
-