public class SortedNumericDVIndexFieldData extends DocValuesIndexFieldData implements IndexNumericFieldData
LeafReader.getSortedNumericDocValues(String)
DocValuesType.SORTED_NUMERIC
DocValuesIndexFieldData.Builder
IndexNumericFieldData.NumericType
IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
fieldName, index
Constructor and Description |
---|
SortedNumericDVIndexFieldData(Index index,
java.lang.String fieldNames,
IndexNumericFieldData.NumericType numericType) |
Modifier and Type | Method and Description |
---|---|
IndexNumericFieldData.NumericType |
getNumericType() |
AtomicNumericFieldData |
load(org.apache.lucene.index.LeafReaderContext context)
Loads the atomic field data for the reader, possibly cached.
|
AtomicNumericFieldData |
loadDirect(org.apache.lucene.index.LeafReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
org.apache.lucene.search.SortField |
sortField(java.lang.Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested,
boolean reverse)
Returns the
SortField to used for sorting. |
clear, clear, getFieldName, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getFieldName
index
public SortedNumericDVIndexFieldData(Index index, java.lang.String fieldNames, IndexNumericFieldData.NumericType numericType)
public org.apache.lucene.search.SortField sortField(java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
IndexFieldData
SortField
to used for sorting.sortField
in interface IndexFieldData<AtomicNumericFieldData>
public IndexNumericFieldData.NumericType getNumericType()
getNumericType
in interface IndexNumericFieldData
public AtomicNumericFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
IndexFieldData
loadDirect
in interface IndexFieldData<AtomicNumericFieldData>
java.lang.Exception
public AtomicNumericFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldData
load
in interface IndexFieldData<AtomicNumericFieldData>