mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-16 19:30:43 +00:00
parsed vectors: embeddings is None when it is null when read from DB
This commit is contained in:
@ -150,7 +150,8 @@ impl<'doc> serde::de::Visitor<'doc> for RawVectorsVisitor {
|
||||
regenerate = Some(value);
|
||||
}
|
||||
Ok(Some("embeddings")) => {
|
||||
let value: &RawValue = match map.next_value() {
|
||||
let value: &RawValue = match map.next_value::<&RawValue>() {
|
||||
Ok(value) if value.get() == "null" => continue,
|
||||
Ok(value) => value,
|
||||
Err(error) => {
|
||||
return Ok(Err(RawVectorsError::DeserializeEmbeddings {
|
||||
|
Reference in New Issue
Block a user