MultiDocValues

A wrapper for CompositeIndexReader providing access to DocValues.

NOTE: for multi readers, you'll get better performance by gathering the sub readers using IndexReader.getContext to get the atomic leaves and then operate per-LeafReader, instead of using this class.

NOTE: This is very costly.

Types

Link copied to clipboard
class MultiSortedDocValues(values: Array<SortedDocValues>, docStarts: IntArray, mapping: OrdinalMap, totalCost: Long) : SortedDocValues

Implements SortedDocValues over n subs, using an OrdinalMap

Link copied to clipboard
class MultiSortedSetDocValues(values: Array<SortedSetDocValues>, docStarts: IntArray, mapping: OrdinalMap, totalCost: Long) : SortedSetDocValues

Implements MultiSortedSetDocValues over n subs, using an OrdinalMap

Functions

Link copied to clipboard

Returns a BinaryDocValues for a reader's docvalues (potentially merging on-the-fly)

Link copied to clipboard

Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).

Link copied to clipboard

Returns a NumericDocValues for a reader's docvalues (potentially merging on-the-fly)

Link copied to clipboard

Returns a SortedNumericDocValues for a reader's docvalues (potentially merging on-the-fly)

Link copied to clipboard

Returns a SortedSetDocValues for a reader's docvalues (potentially doing extremely slow things).

Link copied to clipboard

Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).