Class DocsStats

    • Constructor Detail

      • DocsStats

        public DocsStats()
      • DocsStats

        public DocsStats​(StreamInput in)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • DocsStats

        public DocsStats​(long count,
                         long deleted,
                         long totalSizeInBytes)
    • Method Detail

      • getCount

        public long getCount()
      • getDeleted

        public long getDeleted()
      • getTotalSizeInBytes

        public long getTotalSizeInBytes()
        Returns the total size in bytes of all documents in this stats. This value may be more reliable than StoreStats.getSizeInBytes() in estimating the index size.
      • getAverageSizeInBytes

        public long getAverageSizeInBytes()
        Returns the average size in bytes of all documents in this stats.