Class MergeInfo
A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.
Inherited Members
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class MergeInfo
Constructors
MergeInfo(int, long, bool, int)
Declaration
public MergeInfo(int totalDocCount, long estimatedMergeBytes, bool isExternal, int mergeMaxNumSegments)
Parameters
| Type | Name | Description |
|---|---|---|
| int | totalDocCount | |
| long | estimatedMergeBytes | |
| bool | isExternal | |
| int | mergeMaxNumSegments |
Properties
EstimatedMergeBytes
A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.
Declaration
public long EstimatedMergeBytes { get; }
Property Value
| Type | Description |
|---|---|
| long |
IsExternal
A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.
Declaration
public bool IsExternal { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MergeMaxNumSegments
A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.
Declaration
public int MergeMaxNumSegments { get; }
Property Value
| Type | Description |
|---|---|
| int |
TotalDocCount
A MergeInfo provides information required for a MERGE context. It is used as part of an IOContext in case of MERGE context.
Declaration
public int TotalDocCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |