SearchModelFactory.SearchIndexStatistics(Int64, Int64, Int64) Method

Definition

Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date.

public static Azure.Search.Documents.Indexes.Models.SearchIndexStatistics SearchIndexStatistics(long documentCount = 0, long storageSize = 0, long vectorIndexSize = 0);
static member SearchIndexStatistics : int64 * int64 * int64 -> Azure.Search.Documents.Indexes.Models.SearchIndexStatistics
Public Shared Function SearchIndexStatistics (Optional documentCount As Long = 0, Optional storageSize As Long = 0, Optional vectorIndexSize As Long = 0) As SearchIndexStatistics

Parameters

documentCount
Int64

The number of documents in the index.

storageSize
Int64

The amount of storage in bytes consumed by the index.

vectorIndexSize
Int64

The amount of memory in bytes consumed by vectors in the index.

Returns

A new SearchIndexStatistics instance for mocking.

Applies to