fix the type of the document deletion by filter tasks

This commit is contained in:
Tamo 2023-05-30 15:18:52 +02:00
parent 0a7817a002
commit 2acc3ec5ee
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
4 changed files with 5 additions and 8 deletions

View file

@ -466,7 +466,7 @@ impl IndexScheduler {
}
}
Details::DocumentDeletionByFilter { deleted_documents, original_filter: _ } => {
assert_eq!(kind.as_kind(), Kind::DocumentDeletionByFilter);
assert_eq!(kind.as_kind(), Kind::DocumentDeletion);
let (index_uid, _) = if let KindWithContent::DocumentDeletionByFilter {
ref index_uid,
ref filter_expr,