public class SortedSetDVOrdinalsIndexFieldData extends DocValuesIndexFieldData implements IndexOrdinalsFieldData
DocValuesIndexFieldData.Builder
IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
fieldName, index, logger
Constructor and Description |
---|
SortedSetDVOrdinalsIndexFieldData(IndexSettings indexSettings,
IndexFieldDataCache cache,
java.lang.String fieldName,
CircuitBreakerService breakerService,
java.util.function.Function<org.apache.lucene.index.RandomAccessOrds,ScriptDocValues<?>> scriptFunction) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData.XFieldComparatorSource |
comparatorSource(java.lang.Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
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 . |
clear, clear, getFieldName, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getFieldName
index
public SortedSetDVOrdinalsIndexFieldData(IndexSettings indexSettings, IndexFieldDataCache cache, java.lang.String fieldName, CircuitBreakerService breakerService, java.util.function.Function<org.apache.lucene.index.RandomAccessOrds,ScriptDocValues<?>> scriptFunction)
public IndexFieldData.XFieldComparatorSource comparatorSource(java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldData
comparatorSource
in interface IndexFieldData<AtomicOrdinalsFieldData>
public AtomicOrdinalsFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldData
load
in interface IndexFieldData<AtomicOrdinalsFieldData>
public AtomicOrdinalsFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
IndexFieldData
loadDirect
in interface IndexFieldData<AtomicOrdinalsFieldData>
java.lang.Exception
public IndexOrdinalsFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexOrdinalsFieldData
IndexReader
,
potentially from a cache.loadGlobal
in interface IndexFieldData.Global<AtomicOrdinalsFieldData>
loadGlobal
in interface IndexOrdinalsFieldData
public IndexOrdinalsFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws java.lang.Exception
IndexOrdinalsFieldData
IndexReader
.localGlobalDirect
in interface IndexFieldData.Global<AtomicOrdinalsFieldData>
localGlobalDirect
in interface IndexOrdinalsFieldData
java.lang.Exception