Class OnGoingMerge

org.elasticsearch.index.merge.OnGoingMerge

public class OnGoingMerge extends
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
    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.