From 4465a1a3c938bbc5bf81015784657960fe95c651 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 9 Jan 2025 13:26:17 +0100 Subject: [PATCH] Fix test --- crates/milli/src/update/new/extract/documents.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/milli/src/update/new/extract/documents.rs b/crates/milli/src/update/new/extract/documents.rs index 13307025a..0711a76b9 100644 --- a/crates/milli/src/update/new/extract/documents.rs +++ b/crates/milli/src/update/new/extract/documents.rs @@ -89,7 +89,8 @@ impl<'a, 'b, 'extractor> Extractor<'extractor> for DocumentsExtractor<'a, 'b> { .or_default(); *entry -= 1; } - let content = update.updated(); + let content = + update.merged(&context.rtxn, context.index, &context.db_fields_ids_map)?; let geo_iter = content.geo_field().transpose().map(|res| res.map(|rv| ("_geo", rv))); for res in content.iter_top_level_fields().chain(geo_iter) {