org.elasticsearch.index.cache.bloom
Interface BloomCache

All Superinterfaces:
CloseableComponent, IndexComponent
All Known Implementing Classes:
NoneBloomCache, SimpleBloomCache

public interface BloomCache
extends IndexComponent, CloseableComponent


Method Summary
 void clear()
           
 void clear(org.apache.lucene.index.IndexReader reader)
           
 BloomFilter filter(org.apache.lucene.index.IndexReader reader, String fieldName, boolean asyncLoad)
          *Async* loads a bloom filter for the field name.
 long sizeInBytes()
           
 long sizeInBytes(String fieldName)
           
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent
close
 

Method Detail

filter

BloomFilter filter(org.apache.lucene.index.IndexReader reader,
                   String fieldName,
                   boolean asyncLoad)
*Async* loads a bloom filter for the field name. Note, this one only supports for fields that have a single term per doc.


clear

void clear()

clear

void clear(org.apache.lucene.index.IndexReader reader)

sizeInBytes

long sizeInBytes()

sizeInBytes

long sizeInBytes(String fieldName)


Copyright © 2009-2012. All Rights Reserved.