Skip to content

[Meilisearch v1.53.0] Add indexSize and usedIndexSize to index stats #988

Description

@Strift

Context

Meilisearch v1.53.0 adds indexSize and usedIndexSize to per-index stats.

Objective

Update the SDK so index stats responses include the new indexSize and usedIndexSize fields returned by Get stats of index and per index in Get stats of all indexes.

  • indexSize: size of the index DB (bytes by default; honour sizeFormat when supported)
  • usedIndexSize: size of the used pages of the index DB (bytes by default; honour sizeFormat when supported)

Tasks

  • Add indexSize and usedIndexSize to the index stats response shape
  • Update test cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions