File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1152,8 +1152,9 @@ pub struct ClientStats {
11521152 /// Storage space claimed by Meilisearch and LMDB in bytes
11531153 pub database_size : usize ,
11541154
1155- /// Storage space used by the database in bytes, excluding unused space claimed by LMDB
1156- pub used_database_size : usize ,
1155+ /// Storage space used by the database in bytes, excluding unused space claimed by LMDB.
1156+ /// Is `None` for Meilisearch servers older than 1.13.
1157+ pub used_database_size : Option < usize > ,
11571158
11581159 /// When the last update was made to the database in the `RFC 3339` format
11591160 #[ serde( with = "time::serde::rfc3339::option" ) ]
Original file line number Diff line number Diff line change @@ -1900,10 +1900,12 @@ pub struct IndexStats {
19001900 pub number_of_documents : usize ,
19011901
19021902 /// Total number of documents with at least one embedding
1903- pub number_of_embedded_documents : usize ,
1903+ /// Is `None` for Meilisearch servers older than 1.13.
1904+ pub number_of_embedded_documents : Option < usize > ,
19041905
19051906 /// Total number of embeddings in an index
1906- pub number_of_embeddings : usize ,
1907+ /// Is `None` for Meilisearch servers older than 1.13.
1908+ pub number_of_embeddings : Option < usize > ,
19071909
19081910 /// Storage space claimed by all documents in the index in bytes
19091911 pub raw_document_db_size : usize ,
You can’t perform that action at this time.
0 commit comments