Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Lucene40SkipListWriter

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

    Inheritance
    System.Object
    Lucene.Net.Codecs.MultiLevelSkipListWriter
    Lucene40SkipListWriter
    Inherited Members
    Lucene.Net.Codecs.MultiLevelSkipListWriter.m_numberOfSkipLevels
    Lucene.Net.Codecs.MultiLevelSkipListWriter.Init()
    Lucene.Net.Codecs.MultiLevelSkipListWriter.BufferSkip(System.Int32)
    Lucene.Net.Codecs.MultiLevelSkipListWriter.WriteSkip(Lucene.Net.Store.IndexOutput)
    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.TestFramework.dll
    Syntax
    [Obsolete("Only for reading old 4.0 segments")]
    public class Lucene40SkipListWriter : MultiLevelSkipListWriter

    Constructors

    | Improve this Doc View Source

    Lucene40SkipListWriter(Int32, Int32, Int32, IndexOutput, IndexOutput)

    Sole constructor.

    Declaration
    public Lucene40SkipListWriter(int skipInterval, int numberOfSkipLevels, int docCount, IndexOutput freqOutput, IndexOutput proxOutput)
    Parameters
    Type Name Description
    System.Int32 skipInterval
    System.Int32 numberOfSkipLevels
    System.Int32 docCount
    Lucene.Net.Store.IndexOutput freqOutput
    Lucene.Net.Store.IndexOutput proxOutput

    Methods

    | Improve this Doc View Source

    ResetSkip()

    Declaration
    public override void ResetSkip()
    Overrides
    Lucene.Net.Codecs.MultiLevelSkipListWriter.ResetSkip()
    | Improve this Doc View Source

    SetSkipData(Int32, Boolean, Int32, Boolean, Int32)

    Sets the values for the current skip data.

    Declaration
    public virtual void SetSkipData(int doc, bool storePayloads, int payloadLength, bool storeOffsets, int offsetLength)
    Parameters
    Type Name Description
    System.Int32 doc
    System.Boolean storePayloads
    System.Int32 payloadLength
    System.Boolean storeOffsets
    System.Int32 offsetLength
    | Improve this Doc View Source

    WriteSkipData(Int32, IndexOutput)

    Declaration
    protected override void WriteSkipData(int level, IndexOutput skipBuffer)
    Parameters
    Type Name Description
    System.Int32 level
    Lucene.Net.Store.IndexOutput skipBuffer
    Overrides
    Lucene.Net.Codecs.MultiLevelSkipListWriter.WriteSkipData(System.Int32, Lucene.Net.Store.IndexOutput)

    See Also

    Lucene.Net.Codecs.Lucene40.Lucene40PostingsFormat
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.