Method IsMerged
IsMerged(SegmentInfos, Int32, IDictionary<SegmentCommitInfo, Nullable<Boolean>>)
Returns true
if the number of segments eligible for
merging is less than or equal to the specified
maxNumSegments
.
Declaration
protected virtual bool IsMerged(SegmentInfos infos, int maxNumSegments, IDictionary<SegmentCommitInfo, bool?> segmentsToMerge)
Parameters
Type |
Name |
Description |
SegmentInfos |
infos |
|
System.Int32 |
maxNumSegments |
|
IDictionary<SegmentCommitInfo, System.Nullable<System.Boolean>> |
segmentsToMerge |
|
Returns
Type |
Description |
System.Boolean |
|