Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MappingMultiDocsEnum

    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
    MappingMultiDocsEnum
    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 MappingMultiDocsEnum : DocsEnum

    Constructors

    | Improve this Doc View Source

    MappingMultiDocsEnum()

    Sole constructor.

    Declaration
    public MappingMultiDocsEnum()

    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

    Freq

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

    MergeState

    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

    Subs

    Returns sub-readers we are merging.

    Declaration
    public MultiDocsEnum.EnumWithSlice[] Subs { get; }
    Property Value
    Type Description
    MultiDocsEnum.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

    NextDoc()

    Declaration
    public override int NextDoc()
    Returns
    Type Description
    System.Int32
    Overrides
    DocIdSetIterator.NextDoc()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.