Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MergeState.DocMap

    Remaps docids around deletes during merge

    Inheritance
    object
    MergeState.DocMap
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class MergeState.DocMap

    Properties

    HasDeletions

    Returns true if there are any deletions.

    Declaration
    public virtual bool HasDeletions { get; }
    Property Value
    Type Description
    bool

    MaxDoc

    Returns the total number of documents, ignoring deletions.

    Declaration
    public abstract int MaxDoc { get; }
    Property Value
    Type Description
    int

    NumDeletedDocs

    Returns the number of deleted documents.

    Declaration
    public abstract int NumDeletedDocs { get; }
    Property Value
    Type Description
    int

    NumDocs

    Returns the number of not-deleted documents.

    Declaration
    public int NumDocs { get; }
    Property Value
    Type Description
    int

    Methods

    Build(AtomicReader)

    Creates a MergeState.DocMap instance appropriate for this reader.

    Declaration
    public static MergeState.DocMap Build(AtomicReader reader)
    Parameters
    Type Name Description
    AtomicReader reader
    Returns
    Type Description
    MergeState.DocMap

    Get(int)

    Returns the mapped docID corresponding to the provided one.

    Declaration
    public abstract int Get(int docID)
    Parameters
    Type Name Description
    int docID
    Returns
    Type Description
    int
    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.