public abstract class AbstractIndexOrdinalsFieldData extends AbstractIndexFieldData<AtomicOrdinalsFieldData> implements IndexOrdinalsFieldData
AbstractIndexFieldData.PerValueEstimatorIndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource| Modifier and Type | Field and Description |
|---|---|
protected CircuitBreakerService |
breakerService |
protected Settings |
frequency |
protected Settings |
regex |
cache, fieldDataTypedeprecationLogger, index, indexSettings, logger| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIndexOrdinalsFieldData(Index index,
Settings indexSettings,
MappedFieldType.Names fieldNames,
FieldDataType fieldDataType,
IndexFieldDataCache cache,
CircuitBreakerService breakerService) |
| Modifier and Type | Method and Description |
|---|---|
IndexFieldData.XFieldComparatorSource |
comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
protected AtomicOrdinalsFieldData |
empty(int maxDoc) |
protected org.apache.lucene.index.TermsEnum |
filter(org.apache.lucene.index.Terms terms,
org.apache.lucene.index.LeafReader reader) |
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, getFieldDataType, getFieldNames, loadindex, indexSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getFieldDataType, getFieldNames, load, loadDirectindexprotected Settings frequency
protected Settings regex
protected final CircuitBreakerService breakerService
protected AbstractIndexOrdinalsFieldData(Index index, Settings indexSettings, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache, CircuitBreakerService breakerService)
public IndexFieldData.XFieldComparatorSource comparatorSource(@Nullable Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldDatacomparatorSource in interface IndexFieldData<AtomicOrdinalsFieldData>public 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 Exception
IndexOrdinalsFieldDataIndexReader.localGlobalDirect in interface IndexFieldData.Global<AtomicOrdinalsFieldData>localGlobalDirect in interface IndexOrdinalsFieldDataExceptionprotected AtomicOrdinalsFieldData empty(int maxDoc)
empty in class AbstractIndexFieldData<AtomicOrdinalsFieldData>maxDoc - of the current readerprotected org.apache.lucene.index.TermsEnum filter(org.apache.lucene.index.Terms terms,
org.apache.lucene.index.LeafReader reader)
throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.