mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 08:44:27 +01:00
set updated at at the end of the indexing
This commit is contained in:
parent
132916f62c
commit
a2fbf2ea21
@ -12,6 +12,7 @@ pub use document_operation::DocumentOperation;
|
|||||||
use heed::{RoTxn, RwTxn};
|
use heed::{RoTxn, RwTxn};
|
||||||
pub use partial_dump::PartialDump;
|
pub use partial_dump::PartialDump;
|
||||||
use rayon::ThreadPool;
|
use rayon::ThreadPool;
|
||||||
|
use time::OffsetDateTime;
|
||||||
pub use update_by_function::UpdateByFunction;
|
pub use update_by_function::UpdateByFunction;
|
||||||
|
|
||||||
use super::channel::*;
|
use super::channel::*;
|
||||||
@ -285,6 +286,8 @@ where
|
|||||||
inner_index_settings.recompute_facets(wtxn, index)?;
|
inner_index_settings.recompute_facets(wtxn, index)?;
|
||||||
inner_index_settings.recompute_searchables(wtxn, index)?;
|
inner_index_settings.recompute_searchables(wtxn, index)?;
|
||||||
|
|
||||||
|
index.set_updated_at(wtxn, &OffsetDateTime::now_utc())?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user