Skip to content

Commit ef8ac8c

Browse files
committed
Rename "rescore" to "rescore_vector"
1 parent a8633e5 commit ef8ac8c

16 files changed

+23
-23
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/210_knn_search_profile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ setup:
104104
query_vector: [ 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0 ]
105105
k: 3
106106
num_candidates: 3
107-
"rescore":
107+
"rescore_vector":
108108
"oversample": 2.0
109109

110110
# We expect the knn search ops + rescoring num_cnaidates (for rescoring) per shard
@@ -122,7 +122,7 @@ setup:
122122
k: 3
123123
num_candidates: 3
124124
similarity: 100000.0
125-
"rescore":
125+
"rescore_vector":
126126
"oversample": 2.0
127127

128128
# We expect the knn search ops + rescoring num_cnaidates (for rescoring) per shard

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/40_knn_search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ setup:
588588
query_vector: [-0.5, 90.0, -10, 14.8, -156.0]
589589
k: 3
590590
num_candidates: 3
591-
rescore:
591+
rescore_vector:
592592
oversample: 1.5
593593

594594
# Compare scores as hit IDs may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/41_knn_search_bbq_hnsw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ setup:
112112
query_vector: [ 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0]
113113
k: 3
114114
num_candidates: 3
115-
rescore:
115+
rescore_vector:
116116
oversample: 1.5
117117

118118
# Get rescoring scores - hit ordering may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/41_knn_search_byte_quantized.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ setup:
397397
num_candidates: 3
398398
field: vector
399399
query_vector: [0.5, 111.3, -13.0, 14.8, -156.0]
400-
rescore:
400+
rescore_vector:
401401
oversample: 1.5
402402

403403
# Get rescoring scores - hit ordering may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/41_knn_search_half_byte_quantized.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ setup:
574574
query_vector: [-0.5, 90.0, -10, 14.8]
575575
k: 3
576576
num_candidates: 3
577-
rescore:
577+
rescore_vector:
578578
oversample: 1.5
579579

580580
# Get rescoring scores - hit ordering may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/42_knn_search_bbq_flat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ setup:
111111
query_vector: [ 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0, -0.5, 90.0, -10, 14.8, -156.0]
112112
k: 3
113113
num_candidates: 3
114-
rescore:
114+
rescore_vector:
115115
oversample: 1.5
116116

117117
# Get rescoring scores - hit ordering may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/42_knn_search_flat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ setup:
303303
query_vector: [-0.5, 90.0, -10, 14.8, -156.0]
304304
k: 3
305305
num_candidates: 3
306-
rescore:
306+
rescore_vector:
307307
oversample: 1.5
308308

309309
# Compare scores as hit IDs may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/42_knn_search_int4_flat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ setup:
370370
query_vector: [-0.5, 90.0, -10, 14.8]
371371
k: 3
372372
num_candidates: 3
373-
rescore:
373+
rescore_vector:
374374
oversample: 1.5
375375

376376
# Get rescoring scores - hit ordering may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/42_knn_search_int8_flat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ setup:
287287
query_vector: [-0.5, 90.0, -10, 14.8, -156.0]
288288
k: 3
289289
num_candidates: 3
290-
rescore:
290+
rescore_vector:
291291
oversample: 1.5
292292

293293
# Get rescoring scores - hit ordering may change depending on how things are distributed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/45_knn_search_bit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ setup:
453453
query_vector: [127.0, -128.0, 0.0, 1.0, -1.0]
454454
k: 3
455455
num_candidates: 3
456-
rescore:
456+
rescore_vector:
457457
oversample: 1.5
458458

459459
# Compare scores as hit IDs may change depending on how things are distributed

0 commit comments

Comments
 (0)