Share via


SearchModelFactory.IndexStatisticsSummary(String, Int64, Int64, Int64) Method

Definition

Initializes a new instance of IndexStatisticsSummary.

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

Parameters

name
String

The name of the index.

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 IndexStatisticsSummary instance for mocking.

Exceptions

name is null.

Applies to