Package org.elasticsearch.index.merge
Class OnGoingMerge
org.elasticsearch.index.merge.OnGoingMerge
public class OnGoingMerge
extends
Represents a single on going merge within an index.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
A unique id for the merge.<org.apache.lucene.index.SegmentCommitInfo>
The list of segments that are being merged.long
Returns the total size in bytes of this merge.Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
OnGoingMerge
public OnGoingMerge(org.apache.lucene.index.MergePolicy.OneMerge merge)
-
-
Method Details
-
getId
public getId()A unique id for the merge. -
getTotalBytesSize
public long getTotalBytesSize()Returns the total size in bytes of this merge. Note that this does not indicate the size of the merged segment, but the input total size. -
getMergedSegments
public <org.apache.lucene.index.SegmentCommitInfo> getMergedSegments()The list of segments that are being merged.
-