Update crates/milli/src/update/new/extract/faceted/extract_facets.rs

Co-authored-by: Many the fish <many@meilisearch.com>
This commit is contained in:
Nate Nethercott 2025-05-28 15:38:12 +02:00 committed by GitHub
parent 9ad43b6841
commit 44f812c36d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,7 +194,7 @@ impl FacetedDocidsExtractor {
}
// 2. Maybe update geo
if is_geo_enabled && has_changed_for_geo_fields {
if is_geo_enabled && inner.has_changed_for_geo_fields(rtxn, index, context.db_fields_ids_map)? {
extract_geo_document(
inner.current(rtxn, index, context.db_fields_ids_map)?,
inner.external_document_id(),