Class Lucene40SkipListReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Deprecated
    public class Lucene40SkipListReader
    extends MultiLevelSkipListReader
    Deprecated.
    Only for reading old 4.0 segments
    Implements the skip list reader for the 4.0 posting list format that stores positions and payloads.
    See Also:
    Lucene40PostingsFormat
    • Constructor Detail

      • Lucene40SkipListReader

        public Lucene40SkipListReader​(IndexInput skipStream,
                                      int maxSkipLevels,
                                      int skipInterval)
        Deprecated.
        Sole constructor.
    • Method Detail

      • init

        public void init​(long skipPointer,
                         long freqBasePointer,
                         long proxBasePointer,
                         int df,
                         boolean storesPayloads,
                         boolean storesOffsets)
        Deprecated.
        Per-term initialization.
      • getPayloadLength

        public int getPayloadLength()
        Deprecated.
        Returns the payload length of the payload stored just before the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.
      • getOffsetLength

        public int getOffsetLength()
        Deprecated.
        Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.