Class SearchIndexStatistics

java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexStatistics

public final class SearchIndexStatistics extends Object
Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date.
  • Constructor Details

    • SearchIndexStatistics

      public SearchIndexStatistics(long documentCount, long storageSize)
      Creates an instance of SearchIndexStatistics class.
      Parameters:
      documentCount - the documentCount value to set.
      storageSize - the storageSize value to set.
  • Method Details

    • getDocumentCount

      public long getDocumentCount()
      Get the documentCount property: The number of documents in the index.
      Returns:
      the documentCount value.
    • getStorageSize

      public long getStorageSize()
      Get the storageSize property: The amount of storage in bytes consumed by the index.
      Returns:
      the storageSize value.