Example usage for Java org.apache.lucene.index DocValues fields, constructors, methods, implement or subclass
The text is from its open source code.
BinaryDocValues | emptyBinary() An empty BinaryDocValues which returns no documents |
NumericDocValues | emptyNumeric() An empty NumericDocValues which returns no documents |
SortedDocValues | emptySorted() An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document |
SortedNumericDocValues | emptySortedNumeric(int maxDoc) An empty SortedNumericDocValues which returns zero values for every document |
SortedSetDocValues | emptySortedSet() An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document |
BinaryDocValues | getBinary(LeafReader reader, String field) Returns BinaryDocValues for the field, or #emptyBinary if it has none. |
NumericDocValues | getNumeric(LeafReader reader, String field) Returns NumericDocValues for the field, or #emptyNumeric() if it has none. |
SortedDocValues | getSorted(LeafReader reader, String field) Returns SortedDocValues for the field, or #emptySorted if it has none. |
SortedNumericDocValues | getSortedNumeric(LeafReader reader, String field) Returns SortedNumericDocValues for the field, or #emptySortedNumeric if it has none. |
SortedSetDocValues | getSortedSet(LeafReader reader, String field) Returns SortedSetDocValues for the field, or #emptySortedSet if it has none. |
SortedSetDocValues | singleton(SortedDocValues dv) Returns a multi-valued view over the provided SortedDocValues |
SortedNumericDocValues | singleton(NumericDocValues dv) Returns a multi-valued view over the provided NumericDocValues |
SortedDocValues | unwrapSingleton(SortedSetDocValues dv) Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped with #singleton(SortedDocValues) , or null. |
NumericDocValues | unwrapSingleton(SortedNumericDocValues dv) Returns a single-valued view of the SortedNumericDocValues, if it was previously wrapped with #singleton(NumericDocValues) , or null. |