Companion

object Companion

Create a random instance.

Functions

Link copied to clipboard

Creates a random CompressingCodec that is using an empty segment suffix

fun randomInstance(random: Random, withSegmentSuffix: Boolean): CompressingCodec

Creates a random CompressingCodec that is using a segment suffix

fun randomInstance(random: Random, chunkSize: Int, maxDocsPerChunk: Int, withSegmentSuffix: Boolean, blockShift: Int): CompressingCodec
Link copied to clipboard

Creates a random CompressingCodec with more reasonable parameters for big tests.