Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MappingMultiDocsAndPositionsEnum

    Exposes flex API, merged from flex API of sub-segments, remapping docIDs (this is used for segment merging).

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    DocIdSetIterator
    DocsEnum
    DocsAndPositionsEnum
    MappingMultiDocsAndPositionsEnum
    Inherited Members
    DocsEnum.Attributes
    DocIdSetIterator.GetEmpty()
    DocIdSetIterator.NO_MORE_DOCS
    DocIdSetIterator.SlowAdvance(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
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class MappingMultiDocsAndPositionsEnum : DocsAndPositionsEnum

    Constructors

    | Improve this Doc View Source

    MappingMultiDocsAndPositionsEnum()

    Sole constructor.

    Declaration
    public MappingMultiDocsAndPositionsEnum()

    Properties

    | Improve this Doc View Source

    DocID

    Declaration
    public override int DocID { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DocIdSetIterator.DocID
    | Improve this Doc View Source

    EndOffset

    Declaration
    public override int EndOffset { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DocsAndPositionsEnum.EndOffset
    | Improve this Doc View Source

    Freq

    Declaration
    public override int Freq { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DocsEnum.Freq
    | Improve this Doc View Source

    MergeState

    Gets or Sets the MergeState, which is used to re-map document IDs.

    Declaration
    public MergeState MergeState { get; set; }
    Property Value
    Type Description
    MergeState
    | Improve this Doc View Source

    NumSubs

    How many sub-readers we are merging.

    Declaration
    public int NumSubs { get; }
    Property Value
    Type Description
    System.Int32
    See Also
    Subs
    | Improve this Doc View Source

    StartOffset

    Declaration
    public override int StartOffset { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DocsAndPositionsEnum.StartOffset
    | Improve this Doc View Source

    Subs

    Returns sub-readers we are merging.

    Declaration
    public MultiDocsAndPositionsEnum.EnumWithSlice[] Subs { get; }
    Property Value
    Type Description
    MultiDocsAndPositionsEnum.EnumWithSlice[]

    Methods

    | Improve this Doc View Source

    Advance(Int32)

    Declaration
    public override int Advance(int target)
    Parameters
    Type Name Description
    System.Int32 target
    Returns
    Type Description
    System.Int32
    Overrides
    DocIdSetIterator.Advance(Int32)
    | Improve this Doc View Source

    GetCost()

    Declaration
    public override long GetCost()
    Returns
    Type Description
    System.Int64
    Overrides
    DocIdSetIterator.GetCost()
    | Improve this Doc View Source

    GetPayload()

    Declaration
    public override BytesRef GetPayload()
    Returns
    Type Description
    BytesRef
    Overrides
    DocsAndPositionsEnum.GetPayload()
    | Improve this Doc View Source

    NextDoc()

    Declaration
    public override int NextDoc()
    Returns
    Type Description
    System.Int32
    Overrides
    DocIdSetIterator.NextDoc()
    | Improve this Doc View Source

    NextPosition()

    Declaration
    public override int NextPosition()
    Returns
    Type Description
    System.Int32
    Overrides
    DocsAndPositionsEnum.NextPosition()
    • 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.