Skip to content

Commit 1ef8584

Browse files
Simplify tests, bypassing raw score test (elastic#125877) (elastic#128481)
I was debating on having this tests in the original PR anyways. It ain't worth the flakiness. We know the oversampling setting gets updated given the other tests. closes: elastic#125851 (cherry picked from commit 505f21b) # Conflicts: # muted-tests.yml # rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/41_knn_search_bbq_hnsw.yml Co-authored-by: Benjamin Trent <[email protected]>
1 parent b5ee90b commit 1ef8584

File tree

3 files changed

+0
-44
lines changed

3 files changed

+0
-44
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,15 +458,9 @@ tests:
458458
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderIT
459459
method: testSearchWhileRelocating
460460
issue: https://github.com/elastic/elasticsearch/issues/127188
461-
- class: org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT
462-
method: test {p0=search.vectors/41_knn_search_byte_quantized/Test index configured rescore vector score consistency}
463-
issue: https://github.com/elastic/elasticsearch/issues/128077
464461
- class: org.elasticsearch.compute.operator.ChangePointOperatorTests
465462
method: testSimpleFinishClose
466463
issue: https://github.com/elastic/elasticsearch/issues/127106
467464
- class: org.elasticsearch.search.CCSDuelIT
468465
method: testTerminateAfter
469466
issue: https://github.com/elastic/elasticsearch/issues/126085
470-
- class: org.elasticsearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT
471-
method: test {yaml=search.vectors/41_knn_search_byte_quantized/Test index configured rescore vector score consistency}
472-
issue: https://github.com/elastic/elasticsearch/issues/128353

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

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -884,22 +884,3 @@ setup:
884884
- match: { hits.hits.1._score: $default_rescore1 }
885885
- match: { hits.hits.2._score: $override_score2 }
886886
- match: { hits.hits.2._score: $default_rescore2 }
887-
888-
- do:
889-
headers:
890-
Content-Type: application/json
891-
search:
892-
rest_total_hits_as_int: true
893-
index: int8_rescore_zero_hnsw
894-
body:
895-
knn:
896-
field: vector
897-
query_vector: [-0.5, 90.0, -10, 14.8]
898-
k: 3
899-
num_candidates: 3
900-
901-
# Compare scores as hit IDs may change depending on how things are distributed
902-
- match: { hits.total: 3 }
903-
- match: { hits.hits.0._score: $raw_score0 }
904-
- match: { hits.hits.1._score: $raw_score1 }
905-
- match: { hits.hits.2._score: $raw_score2 }

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

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -919,22 +919,3 @@ setup:
919919
- match: { hits.hits.1._score: $default_rescore1 }
920920
- match: { hits.hits.2._score: $override_score2 }
921921
- match: { hits.hits.2._score: $default_rescore2 }
922-
923-
- do:
924-
headers:
925-
Content-Type: application/json
926-
search:
927-
rest_total_hits_as_int: true
928-
index: int4_rescore_zero_hnsw
929-
body:
930-
knn:
931-
field: vector
932-
query_vector: [-0.5, 90.0, -10, 14.8]
933-
k: 3
934-
num_candidates: 3
935-
936-
# Compare scores as hit IDs may change depending on how things are distributed
937-
- match: { hits.total: 3 }
938-
- match: { hits.hits.0._score: $raw_score0 }
939-
- match: { hits.hits.1._score: $raw_score1 }
940-
- match: { hits.hits.2._score: $raw_score2 }

0 commit comments

Comments
 (0)