diff --git a/crates/milli/src/update/new/indexer/mod.rs b/crates/milli/src/update/new/indexer/mod.rs index 22e94cc14..1cf83f2d2 100644 --- a/crates/milli/src/update/new/indexer/mod.rs +++ b/crates/milli/src/update/new/indexer/mod.rs @@ -22,7 +22,6 @@ use crate::update::GrenadParameters; use crate::vector::{ArroyWrapper, EmbeddingConfigs}; use crate::{FieldsIdsMap, GlobalFieldsIdsMap, Index, InternalError, Result, ThreadPoolNoAbort}; -mod compute; pub(crate) mod de; pub mod document_changes; mod document_deletion; @@ -30,6 +29,7 @@ mod document_operation; mod extract; mod guess_primary_key; mod partial_dump; +mod post_processing; mod update_by_function; mod write; @@ -179,7 +179,12 @@ where &indexing_context.must_stop_processing, )?; - compute::postprocess(indexing_context, wtxn, global_fields_ids_map, facet_field_ids_delta)?; + post_processing::post_process( + indexing_context, + wtxn, + global_fields_ids_map, + facet_field_ids_delta, + )?; indexing_context.progress.update_progress(IndexingStep::Finalizing); diff --git a/crates/milli/src/update/new/indexer/compute.rs b/crates/milli/src/update/new/indexer/post_processing.rs similarity index 99% rename from crates/milli/src/update/new/indexer/compute.rs rename to crates/milli/src/update/new/indexer/post_processing.rs index 02d73cf96..6bd139068 100644 --- a/crates/milli/src/update/new/indexer/compute.rs +++ b/crates/milli/src/update/new/indexer/post_processing.rs @@ -19,7 +19,7 @@ use crate::update::new::FacetFieldIdsDelta; use crate::update::{FacetsUpdateBulk, GrenadParameters}; use crate::{GlobalFieldsIdsMap, Index, Result}; -pub(super) fn postprocess( +pub(super) fn post_process( indexing_context: IndexingContext, wtxn: &mut RwTxn<'_>, global_fields_ids_map: GlobalFieldsIdsMap<'_>,