Class SearchIndexStatistics
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexStatistics
Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchIndexStatistics
(long documentCount, long storageSize) Creates an instance of SearchIndexStatistics class. -
Method Summary
Modifier and TypeMethodDescriptionlong
Get the documentCount property: The number of documents in the index.long
Get the storageSize property: The amount of storage in bytes consumed by the index.
-
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.
-