Companion

object Companion

Properties

Link copied to clipboard
const val BLOCK_MASK: Int
Link copied to clipboard
const val BLOCK_SIZE: Int

Size of blocks.

Link copied to clipboard
const val DOC_CODEC: String
Link copied to clipboard

Filename extension for document number, frequencies, and skip data. See chapter: #Frequencies

Link copied to clipboard
const val LEVEL1_FACTOR: Int = 32

We insert skip data on every block and every SKIP_FACTOR=32 blocks.

Link copied to clipboard
const val LEVEL1_MASK: Int
Link copied to clipboard
const val LEVEL1_NUM_DOCS: Int

Total number of docs covered by level 1 skip data: 32 * 128 = 4,096

Link copied to clipboard
const val META_CODEC: String
Link copied to clipboard

Filename extension for some small metadata about how postings are encoded.

Link copied to clipboard
const val PAY_CODEC: String
Link copied to clipboard

Filename extension for payloads and offsets. See chapter: #Payloads

Link copied to clipboard
const val POS_CODEC: String
Link copied to clipboard

Filename extension for positions. See chapter: #Positions

Link copied to clipboard
const val TERMS_CODEC: String
Link copied to clipboard
const val VERSION_CURRENT: Int
Link copied to clipboard

Version that started encoding dense blocks as bit sets. Note: the old format is a subset of the new format, so Lucene101PostingsReader is able to read the old format without checking the version.

Link copied to clipboard
const val VERSION_START: Int = 0

Functions

Link copied to clipboard

Return the class that implements ImpactsEnum in this PostingsFormat. This is internally used to help the JVM make good inlining decisions.