Companion

object Companion

Properties

Link copied to clipboard

Zero-length PostingsFormat array.

Functions

Link copied to clipboard

returns a list of all available format names

Link copied to clipboard

looks up a format by name

Link copied to clipboard
fun registerPostingsFormat(name: String, factory: () -> PostingsFormat)

Registers a postings format factory by name. This is the KMP-safe alternative to SPI.

Link copied to clipboard

Reloads the postings format list from the given ClassLoader. Changes to the postings formats are visible after the method ends, all iterators (.availablePostingsFormats,...) stay consistent.