From b7b8f564c35ec441401667ccbf34604f4432c094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 13 Jun 2024 20:13:36 +0200 Subject: [PATCH] delete-me: Simply support generating dump --- dump/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dump/src/lib.rs b/dump/src/lib.rs index 4c511b28e..7a8e9f02c 100644 --- a/dump/src/lib.rs +++ b/dump/src/lib.rs @@ -166,7 +166,12 @@ impl From for KindDump { documents_count, allow_index_creation, }, - KindWithContent::DocumentEdition { .. } => todo!(), + KindWithContent::DocumentEdition { .. } => KindDump::DocumentImport { + primary_key: None, + method: IndexDocumentsMethod::UpdateDocuments, + documents_count: 0, + allow_index_creation: false, + }, KindWithContent::DocumentDeletion { documents_ids, .. } => { KindDump::DocumentDeletion { documents_ids } }