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 ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears all the field data stored cached in on this index.voidClears 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 Exception- Throws:
Exception
-
load
<FD extends LeafFieldData, IFD extends IndexFieldData.Global<FD>> IFD load(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData) throws Exception- Throws:
Exception
-
clear
void clear()Clears all the field data stored cached in on this index. -
clear
Clears all the field data stored cached in on this index for the specified field name.
-