Interface IndexFieldDataCache
- All Known Implementing Classes:
IndexFieldDataCache.None
public interface IndexFieldDataCache
A simple field data cache abstraction on the *index* level.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIndexFieldDataCache.Listenerstatic classIndexFieldDataCache.None -
Method Summary
Modifier and Type Method Description voidclear()Clears all the field data stored cached in on this index.voidclear(java.lang.String fieldName)Clears all the field data stored cached in on this index for the specified field name.<FD extends LeafFieldData, IFD extends IndexFieldData.Global<FD>>
IFDload(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData)<FD extends LeafFieldData, IFD extends IndexFieldData<FD>>
FDload(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData)
-
Method Details
-
load
<FD extends LeafFieldData, IFD extends IndexFieldData<FD>> FD load(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData) throws java.lang.Exception- Throws:
java.lang.Exception
-
load
<FD extends LeafFieldData, IFD extends IndexFieldData.Global<FD>> IFD load(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData) throws java.lang.Exception- Throws:
java.lang.Exception
-
clear
void clear()Clears all the field data stored cached in on this index. -
clear
void clear(java.lang.String fieldName)Clears all the field data stored cached in on this index for the specified field name.
-