mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-09 13:04:30 +01:00
Rename compute.rs to post_process.rs
This commit is contained in:
parent
de7f8c4406
commit
4275833bab
@ -22,7 +22,6 @@ use crate::update::GrenadParameters;
|
|||||||
use crate::vector::{ArroyWrapper, EmbeddingConfigs};
|
use crate::vector::{ArroyWrapper, EmbeddingConfigs};
|
||||||
use crate::{FieldsIdsMap, GlobalFieldsIdsMap, Index, InternalError, Result, ThreadPoolNoAbort};
|
use crate::{FieldsIdsMap, GlobalFieldsIdsMap, Index, InternalError, Result, ThreadPoolNoAbort};
|
||||||
|
|
||||||
mod compute;
|
|
||||||
pub(crate) mod de;
|
pub(crate) mod de;
|
||||||
pub mod document_changes;
|
pub mod document_changes;
|
||||||
mod document_deletion;
|
mod document_deletion;
|
||||||
@ -30,6 +29,7 @@ mod document_operation;
|
|||||||
mod extract;
|
mod extract;
|
||||||
mod guess_primary_key;
|
mod guess_primary_key;
|
||||||
mod partial_dump;
|
mod partial_dump;
|
||||||
|
mod post_processing;
|
||||||
mod update_by_function;
|
mod update_by_function;
|
||||||
mod write;
|
mod write;
|
||||||
|
|
||||||
@ -179,7 +179,12 @@ where
|
|||||||
&indexing_context.must_stop_processing,
|
&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);
|
indexing_context.progress.update_progress(IndexingStep::Finalizing);
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ use crate::update::new::FacetFieldIdsDelta;
|
|||||||
use crate::update::{FacetsUpdateBulk, GrenadParameters};
|
use crate::update::{FacetsUpdateBulk, GrenadParameters};
|
||||||
use crate::{GlobalFieldsIdsMap, Index, Result};
|
use crate::{GlobalFieldsIdsMap, Index, Result};
|
||||||
|
|
||||||
pub(super) fn postprocess<MSP>(
|
pub(super) fn post_process<MSP>(
|
||||||
indexing_context: IndexingContext<MSP>,
|
indexing_context: IndexingContext<MSP>,
|
||||||
wtxn: &mut RwTxn<'_>,
|
wtxn: &mut RwTxn<'_>,
|
||||||
global_fields_ids_map: GlobalFieldsIdsMap<'_>,
|
global_fields_ids_map: GlobalFieldsIdsMap<'_>,
|
Loading…
x
Reference in New Issue
Block a user