Class Segment

    • Field Detail

      • committed

        public boolean committed
      • search

        public boolean search
      • sizeInBytes

        public long sizeInBytes
      • docCount

        public int docCount
      • delDocCount

        public int delDocCount
      • compound

        public Boolean compound
      • mergeId

        public String mergeId
      • memoryInBytes

        public long memoryInBytes
      • segmentSort

        public Sort segmentSort
    • Method Detail

      • getName

        public String getName()
      • getGeneration

        public long getGeneration()
      • isCommitted

        public boolean isCommitted()
      • isSearch

        public boolean isSearch()
      • getNumDocs

        public int getNumDocs()
      • getDeletedDocs

        public int getDeletedDocs()
      • getVersion

        public Version getVersion()
      • getMergeId

        @Nullable
        public String getMergeId()
        If set, a string representing that the segment is part of a merge, with the value representing the group of segments that represent this merge.
      • getMemoryInBytes

        public long getMemoryInBytes()
        Estimation of the memory usage used by a segment.
      • getSegmentSort

        public Sort getSegmentSort()
        Return the sort order of this segment, or null if the segment has no sort.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object