Show / Hide Table of Contents

    Class MergeInfo

    A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.

    Inheritance
    System.Object
    MergeInfo
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class MergeInfo : object

    Constructors

    | Improve this Doc View Source

    MergeInfo(Int32, Int64, Boolean, Int32)

    Creates a new MergeInfo instance from the values required for a MERGE IOContext context.

    These values are only estimates and are not the actual values.

    Declaration
    public MergeInfo(int totalDocCount, long estimatedMergeBytes, bool isExternal, int mergeMaxNumSegments)
    Parameters
    Type Name Description
    System.Int32 totalDocCount
    System.Int64 estimatedMergeBytes
    System.Boolean isExternal
    System.Int32 mergeMaxNumSegments

    Properties

    | Improve this Doc View Source

    EstimatedMergeBytes

    Declaration
    public long EstimatedMergeBytes { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    IsExternal

    Declaration
    public bool IsExternal { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MergeMaxNumSegments

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

    TotalDocCount

    Declaration
    public int TotalDocCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)