Module org.elasticsearch.server
Class ES85BloomFilterPostingsFormat
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.elasticsearch.index.codec.bloomfilter.ES85BloomFilterPostingsFormat
- All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
public class ES85BloomFilterPostingsFormat
extends org.apache.lucene.codecs.PostingsFormat
This implementation is forked from Lucene's BloomFilterPosting to support on-disk bloom filters.
A PostingsFormat useful for low doc-frequency fields such as primary keys. Bloom filters
offers "fast-fail" for reads in segments known to have no record of the key.
-
Field Summary
Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.codecs.FieldsConsumerfieldsConsumer(org.apache.lucene.index.SegmentWriteState state) org.apache.lucene.codecs.FieldsProducerfieldsProducer(org.apache.lucene.index.SegmentReadState state) toString()Methods inherited from class org.apache.lucene.codecs.PostingsFormat
availablePostingsFormats, forName, getName, reloadPostingsFormats
-
Constructor Details
-
ES85BloomFilterPostingsFormat
public ES85BloomFilterPostingsFormat()
-
-
Method Details
-
fieldsConsumer
public org.apache.lucene.codecs.FieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state) throws IOException - Specified by:
fieldsConsumerin classorg.apache.lucene.codecs.PostingsFormat- Throws:
IOException
-
fieldsProducer
public org.apache.lucene.codecs.FieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state) throws IOException - Specified by:
fieldsProducerin classorg.apache.lucene.codecs.PostingsFormat- Throws:
IOException
-
toString
- Overrides:
toStringin classorg.apache.lucene.codecs.PostingsFormat
-