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,
java.lang.String fieldName,
boolean asyncLoad)
*Async* loads a bloom filter for the field name. |
long |
sizeInBytes()
|
long |
sizeInBytes(java.lang.String fieldName)
|
filter
BloomFilter filter(org.apache.lucene.index.IndexReader reader,
java.lang.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(java.lang.String fieldName)