rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826)

This commit is contained in:
Irevoire 2022-10-25 11:02:26 +02:00 committed by Clément Renault
parent 7ed3f00b1e
commit 0aca5e84b9
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
6 changed files with 22 additions and 41 deletions

View file

@ -928,7 +928,7 @@ impl IndexScheduler {
for (task, documents) in tasks.iter_mut().zip(documents) {
task.status = Status::Succeeded;
task.details = Some(Details::DocumentDeletion {
received_document_ids: documents.len(),
matched_documents: documents.len(),
deleted_documents: Some(deleted_documents.min(documents.len() as u64)),
});
}