diff --git a/milli/src/update/index_documents/typed_chunk.rs b/milli/src/update/index_documents/typed_chunk.rs index 915bb2299..3f197fbd1 100644 --- a/milli/src/update/index_documents/typed_chunk.rs +++ b/milli/src/update/index_documents/typed_chunk.rs @@ -249,7 +249,7 @@ pub(crate) fn write_typed_chunk_into_index( // convert the vector back to a Vec let vector: Vec = 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 expected = *expected_dimensions.get_or_insert(found); if expected != found {