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 interface
IndexFieldDataCache.Listener
static class
IndexFieldDataCache.None
-
Method Summary
Modifier and Type Method Description void
clear()
Clears all the field data stored cached in on this index.void
clear(java.lang.String fieldName)
Clears all the field data stored cached in on this index for the specified field name.<FD extends AtomicFieldData,IFD extends IndexFieldData.Global<FD>>
IFDload(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData)
<FD extends AtomicFieldData,IFD extends IndexFieldData<FD>>
FDload(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData)
-
-
-
Method Detail
-
load
<FD extends AtomicFieldData,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 AtomicFieldData,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.
-
-