meilisearch / meilisearch/meilisearch-rust

[v1.13] Add documents database metrics to stats

Open
#650 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Rust
Stars
434
Forks
114
PR merge metrics
No merged PRs in 30d

Description

Following the changes related to Meilisearch v1.13.0 mega issue:

Description

Update the stats object to include the new documents database metrics.

For further reference, see the related Meilisearch engine issue.

Specifications

  • Modify the stats API to include indexes.INDEXNAME.rawDocumentDbSize in SDK responses
  • Modify the stats API to include indexes.INDEXNAME.avgDocumentSize in SDK responses

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the stats API response implementation and its SDK response tests, then compare the current stats shape with the v1.13 requirements and the linked engine issue. Done means SDK responses include indexes.INDEXNAME.rawDocumentDbSize and indexes.INDEXNAME.avgDocumentSize.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.