Class OnGoingMerge

java.lang.Object
org.elasticsearch.index.merge.OnGoingMerge

public class OnGoingMerge extends Object
Represents a single on going merge within an index.
  • Constructor Details

    • OnGoingMerge

      public OnGoingMerge(org.apache.lucene.index.MergePolicy.OneMerge merge)
  • Method Details

    • getId

      public 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 List<org.apache.lucene.index.SegmentCommitInfo> getMergedSegments()
      The list of segments that are being merged.