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
    object
    MultiLevelSkipListWriter
    Lucene40SkipListWriter
    Inherited Members
    MultiLevelSkipListWriter.m_numberOfSkipLevels
    MultiLevelSkipListWriter.Init()
    MultiLevelSkipListWriter.BufferSkip(int)
    MultiLevelSkipListWriter.WriteSkip(IndexOutput)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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

    Lucene40SkipListWriter(int, int, int, IndexOutput, IndexOutput)

    Sole constructor.

    Declaration
    public Lucene40SkipListWriter(int skipInterval, int numberOfSkipLevels, int docCount, IndexOutput freqOutput, IndexOutput proxOutput)
    Parameters
    Type Name Description
    int skipInterval
    int numberOfSkipLevels
    int docCount
    IndexOutput freqOutput
    IndexOutput proxOutput
    See Also
    Lucene40PostingsFormat

    Methods

    ResetSkip()

    Creates new buffers or empties the existing ones.

    Declaration
    public override void ResetSkip()
    Overrides
    Lucene.Net.Codecs.MultiLevelSkipListWriter.ResetSkip()
    See Also
    Lucene40PostingsFormat

    SetSkipData(int, bool, int, bool, int)

    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
    int doc
    bool storePayloads
    int payloadLength
    bool storeOffsets
    int offsetLength
    See Also
    Lucene40PostingsFormat

    WriteSkipData(int, IndexOutput)

    Subclasses must implement the actual skip data encoding in this method.

    Declaration
    protected override void WriteSkipData(int level, IndexOutput skipBuffer)
    Parameters
    Type Name Description
    int level

    The level skip data shall be writing for.

    IndexOutput skipBuffer

    The skip buffer to write to.

    Overrides
    MultiLevelSkipListWriter.WriteSkipData(int, IndexOutput)
    See Also
    Lucene40PostingsFormat

    See Also

    Lucene40PostingsFormat
    Back to top Copyright © 2024 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.