mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Remove unwraps
This commit is contained in:
parent
b6b4b6bab7
commit
f87747f4d3
4 changed files with 40 additions and 13 deletions
|
@ -242,11 +242,9 @@ fn send_original_documents_data(
|
|||
let request_threads = rayon::ThreadPoolBuilder::new()
|
||||
.num_threads(crate::vector::REQUEST_PARALLELISM)
|
||||
.thread_name(|index| format!("embedding-request-{index}"))
|
||||
.build()
|
||||
.unwrap();
|
||||
.build()?;
|
||||
|
||||
rayon::spawn(move || {
|
||||
/// FIXME: unwrap
|
||||
for (name, (embedder, prompt)) in embedders {
|
||||
let result = extract_vector_points(
|
||||
documents_chunk_cloned.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue