diff --git a/tests/default/_core/search/knn.yaml b/tests/default/_core/search/knn.yaml index b515e822c..31f918bcd 100644 --- a/tests/default/_core/search/knn.yaml +++ b/tests/default/_core/search/knn.yaml @@ -33,7 +33,7 @@ prologues: director: Bennett Miller title: Moneyball year: 2011 - embedding: [1.4, 3.5, 2.3, 4.1, 9.2] + embedding: [1.4, 2.3, 3.5, 4.1, 9.2] status: [201] epilogues: - path: /movies @@ -50,7 +50,7 @@ chapters: query: knn: embedding: - vector: [1.4, 3.5, 2.3, 4.1, 9.2] + vector: [1.4, 2.3, 3.5, 4.1, 9.2] k: 1 response: status: 200 @@ -67,9 +67,10 @@ chapters: director: Bennett Miller title: Moneyball year: 2011 - embedding: [1.4, 3.5, 2.3, 4.1, 9.2] + embedding: [1.4, 2.3, 3.5, 4.1, 9.2] - synopsis: Search using the min_score parameter. + version: '>= 2.14' path: /{index}/_search parameters: index: movies @@ -79,7 +80,7 @@ chapters: query: knn: embedding: - vector: [1.4, 3.5, 2.3, 4.1, 9.2] + vector: [1.4, 2.3, 3.5, 4.1, 9.2] min_score: 0.9 response: status: 200 @@ -96,9 +97,10 @@ chapters: director: Bennett Miller title: Moneyball year: 2011 - embedding: [1.4, 3.5, 2.3, 4.1, 9.2] + embedding: [1.4, 2.3, 3.5, 4.1, 9.2] - synopsis: Search using the max_distance parameter. + version: '>= 2.14' path: /{index}/_search parameters: index: movies @@ -108,7 +110,7 @@ chapters: query: knn: embedding: - vector: [1.4, 3.5, 2.3, 4.1, 9.2] + vector: [1.4,2.3, 3.5, 4.1, 9.2] max_distance: 0.1 response: status: 200 @@ -125,7 +127,7 @@ chapters: director: Bennett Miller title: Moneyball year: 2011 - embedding: [1.4, 3.5, 2.3, 4.1, 9.2] + embedding: [1.4, 2.3, 3.5, 4.1, 9.2] - synopsis: Search using a filter. path: /{index}/_search @@ -137,7 +139,7 @@ chapters: query: knn: embedding: - vector: [1.4, 3.5, 2.3, 4.1, 9.2] + vector: [1.4, 2.3, 3.5, 4.1, 9.2] k: 1 filter: term: