Skip to content

Commit d7b6aab

Browse files
authored
[8.19] Backporting Fixed RRF YAML REST Test: rrf with pinned retriever as a sub-retriever (#131321)
* Resolved merge conflicts * removed unneccessary changes
1 parent d45e59c commit d7b6aab

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ tests:
209209
- class: org.elasticsearch.discovery.ClusterDisruptionIT
210210
method: testAckedIndexing
211211
issue: https://github.com/elastic/elasticsearch/issues/117024
212-
- class: org.elasticsearch.xpack.rank.rrf.RRFRankClientYamlTestSuiteIT
213-
method: test {yaml=rrf/950_pinned_interaction/rrf with pinned retriever as a sub-retriever}
214-
issue: https://github.com/elastic/elasticsearch/issues/129845
215212

216213
# Examples:
217214
#

x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/rrf/950_pinned_interaction.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ setup:
8080
-
8181
standard:
8282
query:
83-
match: { text: "document" }
83+
match_none: {}
8484
-
8585
pinned:
8686
ids: ["doc4", "doc5"]
@@ -90,9 +90,6 @@ setup:
9090
match: { text: "document" }
9191

9292
- match: { hits.total.value: 5 }
93-
- match: { hits.hits.0._id: doc1 }
94-
- lt: { hits.hits.0._score: 100.0 }
95-
- match: { hits.hits.1._id: doc4 }
96-
- match: { hits.hits.2._id: doc5 }
97-
93+
- match: { hits.hits.0._id: doc4 }
94+
- match: { hits.hits.1._id: doc5 }
9895

0 commit comments

Comments
 (0)