Interface IndexFieldDataCache
- All Known Implementing Classes:
IndexFieldDataCache.None
public interface IndexFieldDataCache
A simple field data cache abstraction on the *index* level.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears all the field data stored cached in on this index.void
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 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.
-