IndexComponent
IndexFieldData.Global<FD>
, IndexGeoPointFieldData
, IndexNumericFieldData
, IndexOrdinalsFieldData
AbstractIndexFieldData
, AbstractIndexOrdinalsFieldData
, AbstractLatLonPointDVIndexFieldData
, AbstractLatLonPointDVIndexFieldData.LatLonPointDVIndexFieldData
, BinaryDVIndexFieldData
, BytesBinaryDVIndexFieldData
, ConstantIndexFieldData
, GlobalOrdinalsIndexFieldData
, PagedBytesIndexFieldData
, SortedNumericDVIndexFieldData
, SortedSetDVOrdinalsIndexFieldData
, UidIndexFieldData
public interface IndexFieldData<FD extends AtomicFieldData> extends IndexComponent
load(LeafReaderContext)
method.Modifier and Type | Interface | Description |
---|---|---|
static interface |
IndexFieldData.Builder |
|
static class |
IndexFieldData.CommonSettings |
|
static interface |
IndexFieldData.Global<FD extends AtomicFieldData> |
|
static class |
IndexFieldData.XFieldComparatorSource |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Clears any resources associated with this field data.
|
java.lang.String |
getFieldName() |
The field name.
|
FD |
load(org.apache.lucene.index.LeafReaderContext context) |
Loads the atomic field data for the reader, possibly cached.
|
FD |
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. |
index
java.lang.String getFieldName()
FD load(org.apache.lucene.index.LeafReaderContext context)
FD loadDirect(org.apache.lucene.index.LeafReaderContext context) throws java.lang.Exception
java.lang.Exception
org.apache.lucene.search.SortField sortField(@Nullable java.lang.Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested, boolean reverse)
SortField
to used for sorting.void clear()