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


Method Summary
 FieldData cache(FieldDataType type, org.apache.lucene.index.IndexReader reader, String fieldName)
           
 void clear(org.apache.lucene.index.IndexReader reader)
           
 void clear(String reason)
           
 void clear(String reason, String fieldName)
           
 long evictions()
           
 long sizeInBytes()
           
 long sizeInBytes(String fieldName)
           
 String type()
           
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent
close
 

Method Detail

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.