IndexFieldData<AtomicNumericFieldData>, IndexNumericFieldData, IndexComponentpublic class SortedNumericDVIndexFieldData extends DocValuesIndexFieldData implements IndexNumericFieldData
LeafReader.getSortedNumericDocValues(String)DocValuesType.SORTED_NUMERICDocValuesIndexFieldData.BuilderIndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSourceIndexNumericFieldData.NumericTypefieldName, index| Constructor | Description |
|---|---|
SortedNumericDVIndexFieldData(Index index,
java.lang.String fieldNames,
IndexNumericFieldData.NumericType numericType) |
| Modifier and Type | Method | 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, indexindexclear, getFieldNamepublic 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)
IndexFieldDataSortField to used for sorting.sortField in interface IndexFieldData<AtomicNumericFieldData>public IndexNumericFieldData.NumericType getNumericType()
getNumericType in interface IndexNumericFieldDatapublic AtomicNumericFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
IndexFieldDataloadDirect in interface IndexFieldData<AtomicNumericFieldData>java.lang.Exceptionpublic AtomicNumericFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldDataload in interface IndexFieldData<AtomicNumericFieldData>