Skip to content

Meilisearch JS / index / Stats

Type Alias: Stats<Q> ​

Stats<Q> = object

Defined in: src/types/types.ts:859

Stats of the instance and each index

See ​

https://www.meilisearch.com/docs/reference/api/stats/get-stats-of-all-indexes

Type Parameters ​

Q ​

Q extends StatsQuery | undefined = undefined

Stats query whose sizeFormat selects the size field type

Properties ​

databaseSize ​

databaseSize: StatsFieldSize<Q>

Defined in: src/types/types.ts:861

Total disk space used by the database


indexes ​

indexes: object

Defined in: src/types/types.ts:867

Stats for each index, keyed by index UID

Index Signature ​

[index: string]: IndexStats<Q>


lastUpdate ​

lastUpdate: string

Defined in: src/types/types.ts:865

Date of the last update, in RFC 3339


usedDatabaseSize ​

usedDatabaseSize: StatsFieldSize<Q>

Defined in: src/types/types.ts:863

Actual size of the data in the database