Share via


SearchIndexStatistics Class

Definition

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

public class SearchIndexStatistics
public class SearchIndexStatistics : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SearchIndexStatistics>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SearchIndexStatistics>
type SearchIndexStatistics = class
type SearchIndexStatistics = class
    interface IJsonModel<SearchIndexStatistics>
    interface IPersistableModel<SearchIndexStatistics>
Public Class SearchIndexStatistics
Public Class SearchIndexStatistics
Implements IJsonModel(Of SearchIndexStatistics), IPersistableModel(Of SearchIndexStatistics)
Inheritance
SearchIndexStatistics
Implements

Properties

DocumentCount

The number of documents in the index.

StorageSize

The amount of storage in bytes consumed by the index.

VectorIndexSize

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SearchIndexStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SearchIndexStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchIndexStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchIndexStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SearchIndexStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to