mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Removed some warnings
This commit is contained in:
committed by
Clément Renault
parent
3cf1352ae1
commit
9e0eb5ebb0
@ -1749,7 +1749,7 @@ pub(crate) mod tests {
|
||||
let db_fields_ids_map = self.inner.fields_ids_map(&rtxn)?;
|
||||
let mut new_fields_ids_map = db_fields_ids_map.clone();
|
||||
|
||||
let embedders = EmbeddingConfigs::default();
|
||||
let embedders = EmbeddingConfigs::default(); /// TODO: fetch configs from the index
|
||||
let mut indexer =
|
||||
indexer::DocumentOperation::new(IndexDocumentsMethod::ReplaceDocuments);
|
||||
indexer.add_documents(&documents).unwrap();
|
||||
@ -1867,7 +1867,7 @@ pub(crate) mod tests {
|
||||
pub fn delete_documents(&self, external_document_ids: Vec<String>) {
|
||||
let mut wtxn = self.write_txn().unwrap();
|
||||
|
||||
self.delete_documents_using_wtxn(&mut wtxn, external_document_ids);
|
||||
self.delete_documents_using_wtxn(&mut wtxn, external_document_ids).unwrap();
|
||||
|
||||
wtxn.commit().unwrap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user