mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Change the TODO message
This commit is contained in:
parent
ebad1f396f
commit
30741d17fa
@ -249,7 +249,7 @@ pub(crate) fn write_typed_chunk_into_index(
|
|||||||
// convert the vector back to a Vec<f32>
|
// convert the vector back to a Vec<f32>
|
||||||
let vector: Vec<f32> = pod_collect_to_vec(value);
|
let vector: Vec<f32> = pod_collect_to_vec(value);
|
||||||
|
|
||||||
// TODO Move this error in the vector extractor
|
// TODO Inform the user about the document that has a wrong `_vectors`
|
||||||
let found = vector.len();
|
let found = vector.len();
|
||||||
let expected = *expected_dimensions.get_or_insert(found);
|
let expected = *expected_dimensions.get_or_insert(found);
|
||||||
if expected != found {
|
if expected != found {
|
||||||
|
Loading…
Reference in New Issue
Block a user