Skip to content

Commit 12fb39c

Browse files
committed
Fixing test for serverless. Again.
1 parent 68ec878 commit 12fb39c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/knn-function.csv-spec

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,23 @@ knnHybridSearch
6969
required_capability: knn_function
7070

7171
from colors metadata _score
72-
| where match(color, "violet") or knn(rgb_vector, [238,130,238], {"boost": 10.0, "k": 140})
72+
| where match(color, "blue") or knn(rgb_vector, [65,105,225], {"k": 140})
73+
| where primary == true
7374
| sort _score desc, color asc
7475
| keep color, rgb_vector
7576
| limit 10
7677
;
7778

78-
color:text | rgb_vector:dense_vector
79-
violet | [238.0, 130.0, 238.0]
80-
blue violet | [138.0, 43.0, 226.0]
81-
dark violet | [148.0, 0.0, 211.0]
82-
pale violet red | [219.0, 112.0, 147.0]
83-
medium violet red | [199.0, 21.0, 133.0]
84-
orchid | [218.0, 112.0, 214.0]
85-
plum | [221.0, 160.0, 221.0]
86-
hot pink | [255.0, 105.0, 180.0]
87-
thistle | [216.0, 191.0, 216.0]
88-
light pink | [255.0, 182.0, 193.0]
79+
color:text | rgb_vector:dense_vector
80+
blue | [0.0, 0.0, 255.0]
81+
gray | [128.0, 128.0, 128.0]
82+
cyan | [0.0, 255.0, 255.0]
83+
magenta | [255.0, 0.0, 255.0]
84+
green | [0.0, 128.0, 0.0]
85+
white | [255.0, 255.0, 255.0]
86+
black | [0.0, 0.0, 0.0]
87+
red | [255.0, 0.0, 0.0]
88+
yellow | [255.0, 255.0, 0.0]
8989
;
9090

9191
knnWithMultipleFunctions

0 commit comments

Comments
 (0)