Skip to content

Commit 0d02f0f

Browse files
committed
iter
1 parent 01c7553 commit 0d02f0f

File tree

1 file changed

+46
-25
lines changed

1 file changed

+46
-25
lines changed

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

Lines changed: 46 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -174,34 +174,55 @@ setup:
174174
text_similarity_reranker: {
175175
retriever:
176176
{
177-
standard: {
178-
query: {
179-
bool: {
180-
should:
181-
[
182-
{
183-
constant_score: {
184-
filter: {
185-
term: {
186-
integer: 1
187-
}
188-
},
189-
boost: 10
177+
rrf: {
178+
retrievers:
179+
[
180+
{
181+
standard: {
182+
query: {
183+
bool: {
184+
should:
185+
[
186+
{
187+
constant_score: {
188+
filter: {
189+
term: {
190+
integer: 1
191+
}
192+
},
193+
boost: 10
194+
}
195+
},
196+
{
197+
constant_score:
198+
{
199+
filter:
200+
{
201+
term:
202+
{
203+
integer: 3
204+
}
205+
},
206+
boost: 1
207+
}
208+
}
209+
]
190210
}
191-
},
192-
{
193-
constant_score: {
194-
filter: {
195-
term: {
196-
integer: 3
197-
}
198-
},
199-
boost: 1
211+
}
212+
}
213+
},
214+
{
215+
standard: {
216+
query: {
217+
term: {
218+
topic: "geography"
200219
}
201220
}
202-
]
203-
}
204-
}
221+
}
222+
}
223+
],
224+
rank_window_size: 10,
225+
rank_constant: 1
205226
}
206227
},
207228
rank_window_size: 10,

0 commit comments

Comments
 (0)