mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 08:44:27 +01:00
When retrieveVectors
is true, retrieve _vectors.embedder
even if there are no vector for that embedder
This commit is contained in:
parent
0df84bbba7
commit
c25f7e3450
@ -1660,10 +1660,8 @@ 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