public class PagedBytesIndexFieldData extends AbstractIndexOrdinalsFieldData
Modifier and Type | Class and Description |
---|---|
static class |
PagedBytesIndexFieldData.Builder |
class |
PagedBytesIndexFieldData.PagedBytesEstimator
Estimator that wraps string field data by either using
BlockTreeTermsReader, or wrapping the data in a RamAccountingTermsEnum
if the BlockTreeTermsReader cannot be used.
|
AbstractIndexFieldData.PerValueEstimator
IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
breakerService
cache
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
PagedBytesIndexFieldData(IndexSettings indexSettings,
java.lang.String fieldName,
IndexFieldDataCache cache,
CircuitBreakerService breakerService,
double minFrequency,
double maxFrequency,
int minSegmentSize) |
Modifier and Type | Method and Description |
---|---|
AtomicOrdinalsFieldData |
loadDirect(org.apache.lucene.index.LeafReaderContext context)
Loads directly the atomic field data for the reader, ignoring any caching involved.
|
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. |
empty, filter, getOrdinalMap, loadGlobal, localGlobalDirect
clear, getFieldName, load
getIndexSettings, index
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getFieldName, load
index
public PagedBytesIndexFieldData(IndexSettings indexSettings, java.lang.String fieldName, IndexFieldDataCache cache, CircuitBreakerService breakerService, double minFrequency, double maxFrequency, int minSegmentSize)
public org.apache.lucene.search.SortField sortField(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
IndexFieldData
SortField
to used for sorting.public AtomicOrdinalsFieldData loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
IndexFieldData
java.lang.Exception