IndexFieldData<AtomicOrdinalsFieldData>, IndexFieldData.Global<AtomicOrdinalsFieldData>, IndexOrdinalsFieldData, IndexComponentpublic class SortedSetDVOrdinalsIndexFieldData extends DocValuesIndexFieldData implements IndexOrdinalsFieldData
DocValuesIndexFieldData.BuilderIndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSourcefieldName, index| Constructor | Description |
|---|---|
SortedSetDVOrdinalsIndexFieldData(IndexSettings indexSettings,
IndexFieldDataCache cache,
java.lang.String fieldName,
CircuitBreakerService breakerService,
java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.lucene.index.OrdinalMap |
getOrdinalMap() |
Returns the underlying
OrdinalMap for this fielddata
or null if global ordinals are not needed (constant value or single segment). |
AtomicOrdinalsFieldData |
load(org.apache.lucene.index.LeafReaderContext context) |
Loads the atomic field data for the reader, possibly cached.
|
AtomicOrdinalsFieldData |
loadDirect(org.apache.lucene.index.LeafReaderContext context) |
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
IndexOrdinalsFieldData |
loadGlobal(org.apache.lucene.index.DirectoryReader indexReader) |
Load a global view of the ordinals for the given
IndexReader,
potentially from a cache. |
IndexOrdinalsFieldData |
localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) |
Load a global view of the ordinals for the given
IndexReader. |
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 SortedSetDVOrdinalsIndexFieldData(IndexSettings indexSettings, IndexFieldDataCache cache, java.lang.String fieldName, CircuitBreakerService breakerService, java.util.function.Function<org.apache.lucene.index.SortedSetDocValues,ScriptDocValues<?>> scriptFunction)
public org.apache.lucene.search.SortField sortField(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
IndexFieldDataSortField to used for sorting.sortField in interface IndexFieldData<AtomicOrdinalsFieldData>public AtomicOrdinalsFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldDataload in interface IndexFieldData<AtomicOrdinalsFieldData>public AtomicOrdinalsFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
IndexFieldDataloadDirect in interface IndexFieldData<AtomicOrdinalsFieldData>java.lang.Exceptionpublic IndexOrdinalsFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexOrdinalsFieldDataIndexReader,
potentially from a cache.loadGlobal in interface IndexFieldData.Global<AtomicOrdinalsFieldData>loadGlobal in interface IndexOrdinalsFieldDatapublic IndexOrdinalsFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws java.lang.Exception
IndexOrdinalsFieldDataIndexReader.localGlobalDirect in interface IndexFieldData.Global<AtomicOrdinalsFieldData>localGlobalDirect in interface IndexOrdinalsFieldDatajava.lang.Exceptionpublic org.apache.lucene.index.OrdinalMap getOrdinalMap()
IndexOrdinalsFieldDataOrdinalMap for this fielddata
or null if global ordinals are not needed (constant value or single segment).getOrdinalMap in interface IndexOrdinalsFieldData