set updated at at the end of the indexing

This commit is contained in:
ManyTheFish 2024-10-09 13:53:34 +02:00
parent 132916f62c
commit a2fbf2ea21

View File

@ -12,6 +12,7 @@ pub use document_operation::DocumentOperation;
use heed::{RoTxn, RwTxn};
pub use partial_dump::PartialDump;
use rayon::ThreadPool;
use time::OffsetDateTime;
pub use update_by_function::UpdateByFunction;
use super::channel::*;
@ -285,6 +286,8 @@ where
inner_index_settings.recompute_facets(wtxn, index)?;
inner_index_settings.recompute_searchables(wtxn, index)?;
index.set_updated_at(wtxn, &OffsetDateTime::now_utc())?;
Ok(())
}