Commit 93636f5
Merge #635
635: Add documents and embbedings database metrics to IndexStats r=curquiza a=Alirexaa
# Pull Request
## Related issue
Fixes #629
Fixes #628
## What does this PR do?
This pull request includes changes to the `IndexStats` class in the `Meilisearch` namespace to enhance its functionality by adding new properties. These changes aim to provide more detailed statistics about the indexed documents.
### Enhancements to `IndexStats` class:
* [`src/Meilisearch/IndexStats.cs`](diffhunk://#diff-c1df1350b10dfcd3601aae24cd48feba5dce4686d1a03f38fa9a6b9dae852f21L11-R19): Added new properties `RawDocumentDbSize`, `AvgDocumentSize`, `NumberOfEmbeddedDocuments`, and `NumberOfEmbeddings` to the `IndexStats` class. These properties provide additional insights into the size and structure of the indexed documents. [[1]](diffhunk://#diff-c1df1350b10dfcd3601aae24cd48feba5dce4686d1a03f38fa9a6b9dae852f21L11-R19) [[2]](diffhunk://#diff-c1df1350b10dfcd3601aae24cd48feba5dce4686d1a03f38fa9a6b9dae852f21R39-R63)
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!
Co-authored-by: Alireza Baloochi <[email protected]>1 file changed
+30
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
35 | 64 | | |
36 | 65 | | |
0 commit comments