IndexComponent
, IndexFieldData<AtomicOrdinalsFieldData>
, IndexFieldData.Global<AtomicOrdinalsFieldData>
AbstractIndexOrdinalsFieldData
, ConstantIndexFieldData
, GlobalOrdinalsIndexFieldData
, PagedBytesIndexFieldData
, SortedSetDVOrdinalsIndexFieldData
public interface IndexOrdinalsFieldData extends IndexFieldData.Global<AtomicOrdinalsFieldData>
IndexFieldData
for data that is indexed with ordinals.IndexFieldData.Builder, IndexFieldData.CommonSettings, IndexFieldData.Global<FD extends AtomicFieldData>, IndexFieldData.XFieldComparatorSource
Modifier and Type | Method | Description |
---|---|---|
org.apache.lucene.index.OrdinalMap |
getOrdinalMap() |
Returns the underlying
OrdinalMap for this fielddata
or null if global ordinals are not needed (constant value or single segment). |
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 . |
index
clear, getFieldName, load, loadDirect, sortField
IndexOrdinalsFieldData loadGlobal(org.apache.lucene.index.DirectoryReader indexReader)
IndexReader
,
potentially from a cache.loadGlobal
in interface IndexFieldData.Global<AtomicOrdinalsFieldData>
IndexOrdinalsFieldData localGlobalDirect(org.apache.lucene.index.DirectoryReader indexReader) throws java.lang.Exception
IndexReader
.localGlobalDirect
in interface IndexFieldData.Global<AtomicOrdinalsFieldData>
java.lang.Exception
org.apache.lucene.index.OrdinalMap getOrdinalMap()
OrdinalMap
for this fielddata
or null if global ordinals are not needed (constant value or single segment).