mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826)
This commit is contained in:
parent
7ed3f00b1e
commit
0aca5e84b9
6 changed files with 22 additions and 41 deletions
|
@ -373,7 +373,10 @@ impl IndexScheduler {
|
|||
}
|
||||
_ => panic!(),
|
||||
},
|
||||
Details::DocumentDeletion { received_document_ids, deleted_documents } => {
|
||||
Details::DocumentDeletion {
|
||||
matched_documents: received_document_ids,
|
||||
deleted_documents,
|
||||
} => {
|
||||
if let Some(deleted_documents) = deleted_documents {
|
||||
assert_eq!(status, Status::Succeeded);
|
||||
assert!(deleted_documents <= received_document_ids as u64);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue