Java org.apache.lucene.index DocValues fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.index DocValues fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.index DocValues.

The text is from its open source code.

Subclass

org.apache.lucene.index.DocValues has subclasses.
Click this link to see all its subclasses.

Method

BinaryDocValuesemptyBinary()
An empty BinaryDocValues which returns no documents
NumericDocValuesemptyNumeric()
An empty NumericDocValues which returns no documents
SortedDocValuesemptySorted()
An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document
SortedNumericDocValuesemptySortedNumeric(int maxDoc)
An empty SortedNumericDocValues which returns zero values for every document
SortedSetDocValuesemptySortedSet()
An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document
BinaryDocValuesgetBinary(LeafReader reader, String field)
Returns BinaryDocValues for the field, or #emptyBinary if it has none.
NumericDocValuesgetNumeric(LeafReader reader, String field)
Returns NumericDocValues for the field, or #emptyNumeric() if it has none.
SortedDocValuesgetSorted(LeafReader reader, String field)
Returns SortedDocValues for the field, or #emptySorted if it has none.
SortedNumericDocValuesgetSortedNumeric(LeafReader reader, String field)
Returns SortedNumericDocValues for the field, or #emptySortedNumeric if it has none.
SortedSetDocValuesgetSortedSet(LeafReader reader, String field)
Returns SortedSetDocValues for the field, or #emptySortedSet if it has none.
SortedSetDocValuessingleton(SortedDocValues dv)
Returns a multi-valued view over the provided SortedDocValues
SortedNumericDocValuessingleton(NumericDocValues dv)
Returns a multi-valued view over the provided NumericDocValues
SortedDocValuesunwrapSingleton(SortedSetDocValues dv)
Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped with #singleton(SortedDocValues) , or null.
NumericDocValuesunwrapSingleton(SortedNumericDocValues dv)
Returns a single-valued view of the SortedNumericDocValues, if it was previously wrapped with #singleton(NumericDocValues) , or null.