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