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/search-business-rules/src/yamlRestTest/resources/rest-api-spec/test/search-business-rules/10_pinned_retriever.yml
+66-3Lines changed: 66 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@ setup:
5
5
- do:
6
6
indices.create:
7
7
index: test-index1
8
+
- do:
9
+
indices.create:
10
+
index: test-index2
8
11
9
12
- do:
10
13
bulk:
@@ -26,6 +29,17 @@ setup:
26
29
- index:
27
30
_id: doc5
28
31
- { "text": "document five" }
32
+
- do:
33
+
bulk:
34
+
refresh: true
35
+
index: test-index2
36
+
body:
37
+
- index:
38
+
_id: idx2-docA
39
+
- { "text": "index two document A" }
40
+
- index:
41
+
_id: idx2-docB
42
+
- { "text": "index two document B" }
29
43
30
44
---
31
45
"pinned retriever parameter variations":
@@ -442,7 +456,56 @@ setup:
442
456
- match: { hits.hits.2._score < 100.0 }
443
457
- match: { hits.hits.3._id: doc4 }
444
458
- match: { hits.hits.4._id: doc5 }
445
-
446
-
447
-
448
459
460
+
---
461
+
"pinned retriever multi-index vs single-index filtering":
0 commit comments