org.elasticsearch.index.cache.field.data
Interface FieldDataCache
- All Superinterfaces:
- CloseableComponent, IndexComponent
- All Known Implementing Classes:
- AbstractConcurrentMapFieldDataCache, NoneFieldDataCache, ResidentFieldDataCache, SoftFieldDataCache, WeakFieldDataCache
public interface FieldDataCache
- extends IndexComponent, CloseableComponent
cache
FieldData cache(FieldDataType type,
org.apache.lucene.index.IndexReader reader,
java.lang.String fieldName)
throws java.io.IOException
- Throws:
java.io.IOException
type
java.lang.String type()
clear
void clear(java.lang.String fieldName)
clear
void clear()
clear
void clear(org.apache.lucene.index.IndexReader reader)
evictions
long evictions()
sizeInBytes
long sizeInBytes()
sizeInBytes
long sizeInBytes(java.lang.String fieldName)