Rename compute.rs to post_process.rs

This commit is contained in:
Louis Dureuil 2025-01-07 15:31:20 +01:00
parent de7f8c4406
commit 4275833bab
No known key found for this signature in database
2 changed files with 8 additions and 3 deletions

View File

@ -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);

View File

@ -19,7 +19,7 @@ use crate::update::new::FacetFieldIdsDelta;
use crate::update::{FacetsUpdateBulk, GrenadParameters};
use crate::{GlobalFieldsIdsMap, Index, Result};
pub(super) fn postprocess<MSP>(
pub(super) fn post_process<MSP>(
indexing_context: IndexingContext<MSP>,
wtxn: &mut RwTxn<'_>,
global_fields_ids_map: GlobalFieldsIdsMap<'_>,