Freigeben über


IndexesOperationsExtensions.GetStatistics Methode

Definition

Gibt Statistiken für den angegebenen Index zurück, einschließlich der Dokumentanzahl und der Speichernutzung. https://docs.microsoft.com/rest/api/searchservice/Get-Index-Statistics

public static Microsoft.Azure.Search.Models.IndexGetStatisticsResult GetStatistics (this Microsoft.Azure.Search.IIndexesOperations operations, string indexName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member GetStatistics : Microsoft.Azure.Search.IIndexesOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions -> Microsoft.Azure.Search.Models.IndexGetStatisticsResult
<Extension()>
Public Function GetStatistics (operations As IIndexesOperations, indexName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing) As IndexGetStatisticsResult

Parameter

operations
IIndexesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

indexName
String

Der Name des Indexes, für den Statistiken abgerufen werden sollen.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

Gibt zurück

Gilt für: