Update tests

This commit is contained in:
Louis Dureuil 2024-09-17 16:30:04 +02:00
parent a35a339c3d
commit 1120a5296c
No known key found for this signature in database
7 changed files with 185 additions and 128 deletions

View file

@ -218,7 +218,8 @@ async fn reset_embedder_documents() {
"###);
// Make sure the arroy DB has been cleared
let (documents, _code) = index.search_post(json!({ "vector": [1, 1, 1] })).await;
let (documents, _code) =
index.search_post(json!({ "vector": [1, 1, 1], "hybrid": {"embedder": "default"} })).await;
snapshot!(json_string!(documents), @r###"
{
"message": "Cannot find embedder with name `default`.",