NormsProducer

abstract class NormsProducer : AutoCloseable

Abstract API that produces field normalization values

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun checkIntegrity()

Checks consistency of this producer

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
abstract fun getNorms(field: FieldInfo): NumericDocValues?

Returns NumericDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the given field doesn't have norms enabled on its FieldInfo. The return value is never null.