From b4c8b01c88c0cd674480fd13028d1e194bde5326 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Tue, 16 Jul 2024 10:44:23 +0200 Subject: [PATCH] Update existing snapshots --- meilisearch/tests/documents/get_documents.rs | 14 +++++++++++-- meilisearch/tests/vector/mod.rs | 21 +++++++++++++++++--- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/meilisearch/tests/documents/get_documents.rs b/meilisearch/tests/documents/get_documents.rs index f32adf48d..588fc8da1 100644 --- a/meilisearch/tests/documents/get_documents.rs +++ b/meilisearch/tests/documents/get_documents.rs @@ -645,7 +645,12 @@ async fn get_document_with_vectors() { { "id": 1, "name": "echo", - "_vectors": {} + "_vectors": { + "manual": { + "embeddings": [], + "regenerate": false + } + } } ], "offset": 0, @@ -701,7 +706,12 @@ async fn get_document_with_vectors() { }, { "name": "echo", - "_vectors": {} + "_vectors": { + "manual": { + "embeddings": [], + "regenerate": false + } + } } ], "offset": 0, diff --git a/meilisearch/tests/vector/mod.rs b/meilisearch/tests/vector/mod.rs index 21b643c20..41029bfb7 100644 --- a/meilisearch/tests/vector/mod.rs +++ b/meilisearch/tests/vector/mod.rs @@ -120,7 +120,12 @@ async fn add_remove_user_provided() { { "id": 1, "name": "echo", - "_vectors": {} + "_vectors": { + "manual": { + "embeddings": [], + "regenerate": false + } + } } ], "offset": 0, @@ -142,7 +147,12 @@ async fn add_remove_user_provided() { { "id": 1, "name": "echo", - "_vectors": {} + "_vectors": { + "manual": { + "embeddings": [], + "regenerate": false + } + } } ], "offset": 0, @@ -580,7 +590,12 @@ async fn add_remove_one_vector_4588() { { "id": 0, "name": "kefir", - "_vectors": {} + "_vectors": { + "manual": { + "embeddings": [], + "regenerate": false + } + } } ], "offset": 0,