Class CommitStats

    • Constructor Detail

      • CommitStats

        public CommitStats​(org.apache.lucene.index.SegmentInfos segmentInfos)
    • Method Detail

      • readOptionalCommitStatsFrom

        public static CommitStats readOptionalCommitStatsFrom​(StreamInput in)
      • getUserData

        public java.util.Map<java.lang.String,​java.lang.String> getUserData()
      • getGeneration

        public long getGeneration()
      • getId

        public java.lang.String getId()
        base64 version of the commit id (see SegmentInfos.getId()
      • getRawCommitId

        public Engine.CommitId getRawCommitId()
        A raw version of the commit id (see SegmentInfos.getId()
      • syncId

        public java.lang.String syncId()
        The synced-flush id of the commit if existed.
      • getNumDocs

        public int getNumDocs()
        Returns the number of documents in the in this commit