Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_MAX_BLOCK_SIZE: Int = 48

Suggested default value for the maxItemsInBlock parameter to .Lucene90BlockTreeTermsWriter.

Link copied to clipboard
const val DEFAULT_MIN_BLOCK_SIZE: Int = 25

Suggested default value for the minItemsInBlock parameter to .Lucene90BlockTreeTermsWriter.

Functions

Link copied to clipboard
fun encodeOutput(fp: Long, hasTerms: Boolean, isFloor: Boolean): Long
Link copied to clipboard
fun validateSettings(minItemsInBlock: Int, maxItemsInBlock: Int)

Throws IllegalArgumentException if any of these settings is invalid.

Link copied to clipboard
fun writeMSBVLong(l: Long, scratchBytes: DataOutput)

Encodes long value to variable length byte[], in MSB order. Use to decode.