This commit is contained in:
Louis Dureuil 2025-01-09 13:26:17 +01:00
parent e342ae1b46
commit 4465a1a3c9
No known key found for this signature in database

View File

@ -89,7 +89,8 @@ impl<'a, 'b, 'extractor> Extractor<'extractor> for DocumentsExtractor<'a, 'b> {
.or_default(); .or_default();
*entry -= 1; *entry -= 1;
} }
let content = update.updated(); let content =
update.merged(&context.rtxn, context.index, &context.db_fields_ids_map)?;
let geo_iter = let geo_iter =
content.geo_field().transpose().map(|res| res.map(|rv| ("_geo", rv))); content.geo_field().transpose().map(|res| res.map(|rv| ("_geo", rv)));
for res in content.iter_top_level_fields().chain(geo_iter) { for res in content.iter_top_level_fields().chain(geo_iter) {