public abstract class AbstractIndexOrdinalsFieldData extends AbstractIndexFieldData<AtomicOrdinalsFieldData> implements IndexOrdinalsFieldData
AbstractIndexFieldData.PerValueEstimator
IndexFieldData.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, fieldDataType
componentSettings, index, indexSettings, logger
Modifier | Constructor and Description |
---|---|
protected |
AbstractIndexOrdinalsFieldData(Index index,
Settings indexSettings,
FieldMapper.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 org.apache.lucene.index.TermsEnum |
filter(org.apache.lucene.index.Terms terms,
org.apache.lucene.index.AtomicReader reader) |
IndexOrdinalsFieldData |
loadGlobal(org.apache.lucene.index.IndexReader indexReader)
Load a global view of the ordinals for the given
IndexReader ,
potentially from a cache. |
IndexOrdinalsFieldData |
localGlobalDirect(org.apache.lucene.index.IndexReader indexReader)
Load a global view of the ordinals for the given
IndexReader . |
clear, clear, getFieldDataType, getFieldNames, load
index, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, clear, getFieldDataType, getFieldNames, load, loadDirect
index
protected Settings frequency
protected Settings regex
protected final CircuitBreakerService breakerService
protected AbstractIndexOrdinalsFieldData(Index index, Settings indexSettings, FieldMapper.Names fieldNames, FieldDataType fieldDataType, IndexFieldDataCache cache, CircuitBreakerService breakerService)
public IndexFieldData.XFieldComparatorSource comparatorSource(@Nullable Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
IndexFieldData
comparatorSource
in interface IndexFieldData<AtomicOrdinalsFieldData>
public IndexOrdinalsFieldData loadGlobal(org.apache.lucene.index.IndexReader indexReader)
IndexOrdinalsFieldData
IndexReader
,
potentially from a cache.loadGlobal
in interface IndexFieldData.Global<AtomicOrdinalsFieldData>
loadGlobal
in interface IndexOrdinalsFieldData
public IndexOrdinalsFieldData localGlobalDirect(org.apache.lucene.index.IndexReader indexReader) throws Exception
IndexOrdinalsFieldData
IndexReader
.localGlobalDirect
in interface IndexFieldData.Global<AtomicOrdinalsFieldData>
localGlobalDirect
in interface IndexOrdinalsFieldData
Exception
protected org.apache.lucene.index.TermsEnum filter(org.apache.lucene.index.Terms terms, org.apache.lucene.index.AtomicReader reader) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.