Skip to content

Commit 9125b38

Browse files
committed
Worked on the PR comments
1 parent 4a17144 commit 9125b38

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,15 @@ setup:
7777
retriever:
7878
rrf:
7979
retrievers:
80-
-
81-
standard:
82-
query:
83-
match: { text: "document" }
8480
-
8581
pinned:
8682
ids: ["doc4", "doc5"]
8783
retriever:
8884
standard:
8985
query:
90-
match: { text: "document" }
91-
92-
- match: { hits.total.value: 5 }
93-
- match: { hits.hits.0._id: doc1 }
94-
- lt: { hits.hits.0._score: 100.0 }
86+
match_none: {}
9587

88+
- match: { hits.total.value: 2 }
89+
- match: { hits.hits.0._id: doc4 }
90+
- match: { hits.hits.1._id: doc5 }
9691

0 commit comments

Comments
 (0)