Class Elasticsearch090PostingsFormat

  • All Implemented Interfaces:
    org.apache.lucene.util.NamedSPILoader.NamedSPI

    Deprecated. 
    only for reading old segments

    @Deprecated
    public class Elasticsearch090PostingsFormat
    extends org.apache.lucene.codecs.PostingsFormat
    This is the old default postings format for Elasticsearch that special cases the _uid field to use a bloom filter while all other fields will use a Lucene41PostingsFormat. This format will reuse the underlying Lucene41PostingsFormat and its files also for the _uid saving up to 5 files per segment in the default case.

    • Field Summary

      Fields

      Modifier and Type Field and Description
      protected BloomFilterPostingsFormat bloomPostings
      Deprecated. 
       
      • Fields inherited from class org.apache.lucene.codecs.PostingsFormat

        EMPTY
    • Method Summary

      Modifier and Type Method and Description
      org.apache.lucene.codecs.FieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state)
      Deprecated. 
       
      org.apache.lucene.codecs.FieldsProducer fieldsProducer(org.apache.lucene.index.SegmentReadState state)
      Deprecated. 
       
      org.apache.lucene.codecs.PostingsFormat getDefaultWrapped()
      Deprecated. 
       
      • Methods inherited from class org.apache.lucene.codecs.PostingsFormat

        availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
    • Constructor Detail

      • Elasticsearch090PostingsFormat

        public Elasticsearch090PostingsFormat()
        Deprecated. 
    • Method Detail

      • getDefaultWrapped

        public org.apache.lucene.codecs.PostingsFormat getDefaultWrapped()
        Deprecated. 
      • fieldsConsumer

        public org.apache.lucene.codecs.FieldsConsumer fieldsConsumer(org.apache.lucene.index.SegmentWriteState state)
                                                               throws IOException
        Deprecated. 
        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
        Deprecated. 
        Specified by:
        fieldsProducer in class  org.apache.lucene.codecs.PostingsFormat
        Throws:
        IOException