mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Update Snapshots
This commit is contained in:
parent
9f3663e768
commit
5d421abdc4
6 changed files with 45 additions and 15 deletions
|
@ -496,8 +496,6 @@ pub struct IndexStats {
|
|||
pub number_of_documents: u64,
|
||||
/// Size of the documents database, in bytes.
|
||||
pub raw_document_db_size: u64,
|
||||
/// Maximum size of a document in the documents database.
|
||||
pub max_document_size: u64,
|
||||
/// Average size of a document in the documents database.
|
||||
pub avg_document_size: u64,
|
||||
/// Whether or not the index is currently ingesting document
|
||||
|
@ -518,7 +516,6 @@ impl From<index_scheduler::IndexStats> for IndexStats {
|
|||
IndexStats {
|
||||
number_of_documents: stats.inner_stats.documents_database_stats.number_of_entries(),
|
||||
raw_document_db_size: stats.inner_stats.documents_database_stats.total_value_size(),
|
||||
max_document_size: stats.inner_stats.documents_database_stats.max_value_size(),
|
||||
avg_document_size: stats.inner_stats.documents_database_stats.average_value_size(),
|
||||
is_indexing: stats.is_indexing,
|
||||
number_of_embeddings: stats.inner_stats.number_of_embeddings,
|
||||
|
@ -541,6 +538,8 @@ impl From<index_scheduler::IndexStats> for IndexStats {
|
|||
(status = OK, description = "The stats of the index", body = IndexStats, content_type = "application/json", example = json!(
|
||||
{
|
||||
"numberOfDocuments": 10,
|
||||
"rawDocumentDbSize": 10,
|
||||
"avgDocumentSize": 10,
|
||||
"numberOfEmbeddings": 10,
|
||||
"numberOfEmbeddedDocuments": 10,
|
||||
"isIndexing": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue