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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.codecs.FieldsConsumer
    fieldsConsumer(org.apache.lucene.index.SegmentWriteState state)
     
    org.apache.lucene.codecs.FieldsProducer
    fieldsProducer(org.apache.lucene.index.SegmentReadState state)
     
     

    Methods inherited from class org.apache.lucene.codecs.PostingsFormat

    availablePostingsFormats, forName, getName, reloadPostingsFormats

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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:
      fieldsConsumer in class org.apache.lucene.codecs.PostingsFormat
      Throws:
      IOException
    • fieldsProducer

      public org.apache.lucene.codecs.FieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state) throws IOException
      Specified by:
      fieldsProducer in class org.apache.lucene.codecs.PostingsFormat
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.lucene.codecs.PostingsFormat