Skip to content

Commit 19b9ce5

Browse files
committed
Fixed the Match_none
1 parent 9125b38 commit 19b9ce5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,19 @@ setup:
7777
retriever:
7878
rrf:
7979
retrievers:
80+
-
81+
standard:
82+
query:
83+
match_none: {}
8084
-
8185
pinned:
8286
ids: ["doc4", "doc5"]
8387
retriever:
8488
standard:
8589
query:
86-
match_none: {}
90+
match: { text: "document" }
8791

88-
- match: { hits.total.value: 2 }
92+
- match: { hits.total.value: 5 }
8993
- match: { hits.hits.0._id: doc4 }
9094
- match: { hits.hits.1._id: doc5 }
9195

0 commit comments

Comments
 (0)