mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 16:45:30 +08:00
When retrieveVectors
is true, retrieve _vectors.embedder
even if there are no vector for that embedder
This commit is contained in:
parent
1582c7e788
commit
82647bcded
@ -1691,9 +1691,7 @@ impl Index {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !embeddings.is_empty() {
|
res.insert(embedder_name.to_owned(), embeddings);
|
||||||
res.insert(embedder_name.to_owned(), embeddings);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Ok(res)
|
Ok(res)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user