IndexFieldData<AtomicNumericFieldData>
, IndexNumericFieldData
, IndexComponent
public class SortedNumericDVIndexFieldData extends DocValuesIndexFieldData implements IndexNumericFieldData
LeafReader.getSortedNumericDocValues(String)
DocValuesType.SORTED_NUMERIC
DocValuesIndexFieldData.Builder
IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
IndexNumericFieldData.NumericType
fieldName, 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, index
index
clear, getFieldName
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>