mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Moving to heed v0.5.0
This commit is contained in:
parent
6b326a45d7
commit
2a50e08bb8
6 changed files with 18 additions and 18 deletions
|
@ -77,8 +77,8 @@ pub fn push_documents_addition<D: serde::Serialize>(
|
|||
Ok(last_update_id)
|
||||
}
|
||||
|
||||
pub fn apply_documents_addition(
|
||||
writer: &mut heed::RwTxn,
|
||||
pub fn apply_documents_addition<'a, 'b>(
|
||||
writer: &'a mut heed::RwTxn<'b>,
|
||||
main_store: store::Main,
|
||||
documents_fields_store: store::DocumentsFields,
|
||||
documents_fields_counts_store: store::DocumentsFieldsCounts,
|
||||
|
|
|
@ -149,8 +149,8 @@ pub fn next_update_id(
|
|||
Ok(new_update_id)
|
||||
}
|
||||
|
||||
pub fn update_task(
|
||||
writer: &mut heed::RwTxn,
|
||||
pub fn update_task<'a, 'b>(
|
||||
writer: &'a mut heed::RwTxn<'b>,
|
||||
index: store::Index,
|
||||
update_id: u64,
|
||||
update: Update,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue