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
    Lucene40SkipListWriter
    Namespace: Lucene.Net.Codecs.Lucene40
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    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
    IndexOutput freqOutput
    IndexOutput proxOutput

    Methods

    | Improve this Doc View Source

    ResetSkip()

    Declaration
    public override void 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
    IndexOutput skipBuffer
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)