Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documents and embbedings database metrics to stats response #652

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Alirexaa
Copy link

Pull Request

Related issue

Fixes #650
Fixes #649

What does this PR do?

This pull request includes an update to the IndexStats struct in the src/indexes.rs file to add several new fields for more detailed tracking of index statistics.

Changes in IndexStats struct:

  • Added raw_document_db_size field to track the size of the raw document database.
  • Added avg_document_size field to track the average size of documents.
  • Added number_of_embedded_documents field to track the number of embedded documents.
  • Added number_of_embeddings field to track the number of embeddings.

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.13] Add documents database metrics to stats [v1.13] Add embbedings database metrics to stats
1 participant