mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	Fix tests
This commit is contained in:
		| @@ -234,11 +234,13 @@ pub(crate) fn write_typed_chunk_into_index( | ||||
|                                         addition, | ||||
|                                     ) | ||||
|                                 else { | ||||
|                                     // if the `_vectors` field cannot be parsed as map of vectors, just write it as-is | ||||
|                                     break 'vectors Some(addition); | ||||
|                                 }; | ||||
|                                 vectors.retain_user_provided_vectors(); | ||||
|                                 let crate::vector::parsed_vectors::ParsedVectors(vectors) = vectors; | ||||
|                                 if vectors.is_empty() { | ||||
|                                     // skip writing empty `_vectors` map | ||||
|                                     break 'vectors None; | ||||
|                                 } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user