• API

    Show / Hide Table of Contents

    Class Lucene40SkipListReader

    Implements the skip list reader for the 4.0 posting list format that stores positions and payloads.

    Inheritance
    System.Object
    MultiLevelSkipListReader
    Lucene40SkipListReader
    Implements
    System.IDisposable
    Inherited Members
    MultiLevelSkipListReader.m_maxNumberOfSkipLevels
    MultiLevelSkipListReader.m_skipDoc
    MultiLevelSkipListReader.Doc
    MultiLevelSkipListReader.SkipTo(Int32)
    MultiLevelSkipListReader.Dispose()
    MultiLevelSkipListReader.Dispose(Boolean)
    MultiLevelSkipListReader.Init(Int64, Int32)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Codecs.Lucene40
    Assembly: Lucene.Net.dll
    Syntax
    [Obsolete("Only for reading old 4.0 segments")]
    public class Lucene40SkipListReader : MultiLevelSkipListReader, IDisposable

    Constructors

    | Improve this Doc View Source

    Lucene40SkipListReader(IndexInput, Int32, Int32)

    Sole constructor.

    Declaration
    public Lucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)
    Parameters
    Type Name Description
    IndexInput skipStream
    System.Int32 maxSkipLevels
    System.Int32 skipInterval

    Properties

    | Improve this Doc View Source

    FreqPointer

    Returns the freq pointer of the doc to which the last call of SkipTo(Int32) has skipped.

    Declaration
    public virtual long FreqPointer { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    OffsetLength

    Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call of SkipTo(Int32) has skipped.

    Declaration
    public virtual int OffsetLength { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    PayloadLength

    Returns the payload length of the payload stored just before the doc to which the last call of SkipTo(Int32) has skipped.

    Declaration
    public virtual int PayloadLength { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ProxPointer

    Returns the prox pointer of the doc to which the last call of SkipTo(Int32) has skipped.

    Declaration
    public virtual long ProxPointer { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Init(Int64, Int64, Int64, Int32, Boolean, Boolean)

    Per-term initialization.

    Declaration
    public virtual void Init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, bool storesPayloads, bool storesOffsets)
    Parameters
    Type Name Description
    System.Int64 skipPointer
    System.Int64 freqBasePointer
    System.Int64 proxBasePointer
    System.Int32 df
    System.Boolean storesPayloads
    System.Boolean storesOffsets
    | Improve this Doc View Source

    ReadSkipData(Int32, IndexInput)

    Declaration
    protected override int ReadSkipData(int level, IndexInput skipStream)
    Parameters
    Type Name Description
    System.Int32 level
    IndexInput skipStream
    Returns
    Type Description
    System.Int32
    Overrides
    MultiLevelSkipListReader.ReadSkipData(Int32, IndexInput)
    | Improve this Doc View Source

    SeekChild(Int32)

    Declaration
    protected override void SeekChild(int level)
    Parameters
    Type Name Description
    System.Int32 level
    Overrides
    MultiLevelSkipListReader.SeekChild(Int32)
    | Improve this Doc View Source

    SetLastSkipData(Int32)

    Declaration
    protected override void SetLastSkipData(int level)
    Parameters
    Type Name Description
    System.Int32 level
    Overrides
    MultiLevelSkipListReader.SetLastSkipData(Int32)

    Implements

    System.IDisposable

    See Also

    Lucene40PostingsFormat
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)