IndexFieldData<AtomicOrdinalsFieldData>, IndexFieldData.Global<AtomicOrdinalsFieldData>, IndexOrdinalsFieldData, IndexComponentpublic class ConstantIndexFieldData extends AbstractIndexOrdinalsFieldData
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ConstantIndexFieldData.Builder |
AbstractIndexFieldData.PerValueEstimatorIndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSourcedeprecationLogger, indexSettings, loggercachebreakerService| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
Clears any resources associated with this field data.
|
java.lang.String |
getValue() |
|
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. |
getIndexSettings, indexgetFieldNameempty, filter, getOrdinalMapindexgetFieldNamepublic void clear()
IndexFieldDataclear in interface IndexFieldData<AtomicOrdinalsFieldData>clear in class AbstractIndexFieldData<AtomicOrdinalsFieldData>public final AtomicOrdinalsFieldData load(org.apache.lucene.index.LeafReaderContext context)
IndexFieldDataload in interface IndexFieldData<AtomicOrdinalsFieldData>load in class AbstractIndexFieldData<AtomicOrdinalsFieldData>public AtomicOrdinalsFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
IndexFieldDatajava.lang.Exceptionpublic org.apache.lucene.search.SortField sortField(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
IndexFieldDataSortField to used for sorting.public IndexOrdinalsFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexOrdinalsFieldDataIndexReader,
potentially from a cache.loadGlobal in interface IndexFieldData.Global<AtomicOrdinalsFieldData>loadGlobal in interface IndexOrdinalsFieldDataloadGlobal in class AbstractIndexOrdinalsFieldDatapublic IndexOrdinalsFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws java.lang.Exception
IndexOrdinalsFieldDataIndexReader.localGlobalDirect in interface IndexFieldData.Global<AtomicOrdinalsFieldData>localGlobalDirect in interface IndexOrdinalsFieldDatalocalGlobalDirect in class AbstractIndexOrdinalsFieldDatajava.lang.Exceptionpublic java.lang.String getValue()