You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/linear/20_linear_retriever_simplified.yml
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -352,6 +352,27 @@ setup:
352
352
353
353
- match: { error.root_cause.0.reason: "[linear] does not support the simplified query format when querying multiple indices" }
354
354
355
+
- do:
356
+
indices.put_alias:
357
+
index: test-index
358
+
name: test-alias
359
+
- do:
360
+
indices.put_alias:
361
+
index: test-index-2
362
+
name: test-alias
363
+
364
+
- do:
365
+
catch: bad_request
366
+
search:
367
+
index: test-alias
368
+
body:
369
+
retriever:
370
+
linear:
371
+
query: "match"
372
+
normalizer: "minmax"
373
+
374
+
- match: { error.root_cause.0.reason: "[linear] does not support the simplified query format when querying multiple indices" }
375
+
355
376
---
356
377
"Wildcard field patterns that do not resolve to any field are handled gracefully":
0 commit comments