Plug the deletion pipeline

This commit is contained in:
Clément Renault
2024-10-08 16:04:19 +02:00
parent 470c2272dd
commit 39b27e42be
2 changed files with 27 additions and 18 deletions

View File

@ -43,7 +43,7 @@ impl<'p> DocumentChanges<'p> for DocumentDeletion {
|rtxn, docid| {
let current = index.document(rtxn, docid)?;
let external_document_id = primary_key
.document_id(&current, fields_ids_map)?
.document_id(current, fields_ids_map)?
.map_err(|_| InternalError::DatabaseMissingEntry {
db_name: EXTERNAL_DOCUMENTS_IDS,
key: None,