Package org.elasticsearch.index.merge
Class OnGoingMerge
java.lang.Object
org.elasticsearch.index.merge.OnGoingMerge
public class OnGoingMerge
extends java.lang.Object
Represents a single on going merge within an index.
-
Constructor Summary
Constructors Constructor Description OnGoingMerge(org.apache.lucene.index.MergePolicy.OneMerge merge)
-
Method Summary
Modifier and Type Method Description java.lang.String
getId()
A unique id for the merge.java.util.List<org.apache.lucene.index.SegmentCommitInfo>
getMergedSegments()
The list of segments that are being merged.long
getTotalBytesSize()
Returns the total size in bytes of this merge.
-
Constructor Details
-
OnGoingMerge
public OnGoingMerge(org.apache.lucene.index.MergePolicy.OneMerge merge)
-
-
Method Details
-
getId
public java.lang.String 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 java.util.List<org.apache.lucene.index.SegmentCommitInfo> getMergedSegments()The list of segments that are being merged.
-