DocValues

object DocValues

This class contains utility methods and constants for DocValues

Functions

Link copied to clipboard

An empty BinaryDocValues which returns no documents

Link copied to clipboard

An empty NumericDocValues which returns no documents

Link copied to clipboard

An empty SortedDocValues which returns BytesRef.EMPTY_BYTES for every document

Link copied to clipboard

An empty SortedNumericDocValues which returns zero values for every document

Link copied to clipboard

An empty SortedDocValues which returns BytesRef.EMPTY_BYTES for every document

Link copied to clipboard

Returns BinaryDocValues for the field, or .emptyBinary if it has none.

Link copied to clipboard

Returns NumericDocValues for the field, or .emptyNumeric if it has none.

Link copied to clipboard

Returns SortedDocValues for the field, or .emptySorted if it has none.

Link copied to clipboard

Returns SortedNumericDocValues for the field, or .emptySortedNumeric if it has none.

Link copied to clipboard

Returns SortedSetDocValues for the field, or .emptySortedSet if it has none.

Link copied to clipboard
fun isCacheable(ctx: LeafReaderContext, vararg fields: String): Boolean

Returns true if the specified docvalues fields have not been updated

Link copied to clipboard

Returns a multi-valued view over the provided NumericDocValues

Returns a multi-valued view over the provided SortedDocValues

Link copied to clipboard

Returns a single-valued view of the SortedNumericDocValues, if it was previously wrapped with .singleton, or null.

Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped with .singleton, or null.