Package version:

Interface SearchIndexStatistics

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

interface SearchIndexStatistics {
    documentCount: number;
    storageSize: number;
    vectorIndexSize: number;
}

Properties

documentCount: number

The number of documents in the index. NOTE: This property will not be serialized. It can only be populated by the server.

storageSize: number

The amount of storage in bytes consumed by the index. NOTE: This property will not be serialized. It can only be populated by the server.

vectorIndexSize: number

The amount of memory in bytes consumed by vectors in the index. NOTE: This property will not be serialized. It can only be populated by the server.