diff --git a/crates/meilisearch-types/src/task_view.rs b/crates/meilisearch-types/src/task_view.rs index b856989c1..413f674b3 100644 --- a/crates/meilisearch-types/src/task_view.rs +++ b/crates/meilisearch-types/src/task_view.rs @@ -325,7 +325,7 @@ impl DetailsView { ) { (None, None) => None, (None, Some(size)) | (Some(size), None) => Some(size), - // We should never be able to batch multiple renames at the same time. + // We should never be able to batch multiple compactions at the same time. (Some(left), Some(_right)) => Some(left), }, post_compaction_size: match ( @@ -334,7 +334,7 @@ impl DetailsView { ) { (None, None) => None, (None, Some(size)) | (Some(size), None) => Some(size), - // We should never be able to batch multiple renames at the same time. + // We should never be able to batch multiple compactions at the same time. (Some(left), Some(_right)) => Some(left), }, } diff --git a/crates/meilisearch/src/routes/indexes/compact.rs b/crates/meilisearch/src/routes/indexes/compact.rs index 07cd3b037..175564926 100644 --- a/crates/meilisearch/src/routes/indexes/compact.rs +++ b/crates/meilisearch/src/routes/indexes/compact.rs @@ -20,7 +20,7 @@ use crate::routes::SummarizedTaskView; tags( ( name = "Compact an index", - description = "The /compact route uses compacts the database to reoganize and make it smaller and more efficient.", + description = "The /compact route uses compacts the database to reorganize and make it smaller and more efficient.", external_docs(url = "https://www.meilisearch.com/docs/reference/api/compact"), ), ),