Class CheckIndex.Status.SegmentInfoStatus

  • Enclosing class:

    public static class CheckIndex.Status.SegmentInfoStatus
    extends Object
    Holds the status of each segment in the index. See CheckIndex.Status.segmentInfos.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Field Detail

      • name

        public String name
        Name of the segment.
      • codec

        public Codec codec
        Codec used to read this segment.
      • maxDoc

        public int maxDoc
        Document count (does not take deletions into account).
      • compound

        public boolean compound
        True if segment is compound file format.
      • numFiles

        public int numFiles
        Number of files referenced by this segment.
      • sizeMB

        public double sizeMB
        Net size (MB) of the files referenced by this segment.
      • hasDeletions

        public boolean hasDeletions
        True if this segment has pending deletions.
      • deletionsGen

        public long deletionsGen
        Current deletions generation.
      • openReaderPassed

        public boolean openReaderPassed
        True if we were able to open a CodecReader on this segment.
      • toLoseDocCount

        public int toLoseDocCount
        doc count in this segment
      • diagnostics

        public Map<String,​String> diagnostics
        Map that includes certain debugging details that IndexWriter records into each segment it creates
      • error

        public Throwable error
        Exception thrown during segment test (null on success)