mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Fix all the benchmark compilation errors
This commit is contained in:
parent
df5884b0c1
commit
32d0e50a75
9 changed files with 658 additions and 289 deletions
|
@ -448,12 +448,11 @@ fn import_dump(
|
|||
|
||||
let builder = builder.with_embedders(embedders);
|
||||
|
||||
todo!("please plug the dump load of main");
|
||||
// let (builder, user_result) = builder.add_documents(reader)?;
|
||||
// let user_result = user_result?;
|
||||
// tracing::info!(documents_found = user_result, "{} documents found.", user_result);
|
||||
// builder.execute()?;
|
||||
// wtxn.commit()?;
|
||||
let (builder, user_result) = builder.add_documents(reader)?;
|
||||
let user_result = user_result?;
|
||||
tracing::info!(documents_found = user_result, "{} documents found.", user_result);
|
||||
builder.execute()?;
|
||||
wtxn.commit()?;
|
||||
tracing::info!("All documents successfully imported.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue