File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
x-pack/plugin/ent-search/qa/rest/src/yamlRestTest/resources/rest-api-spec/test/entsearch/rules Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ setup :
2+ - do :
3+ bulk :
4+ refresh : true
5+ index : test-index1
6+ body :
7+ - index :
8+ _id : foo
9+ - { "text": "foo - pinned doc for foo" }
10+
11+ ---
12+ " query rules retriever when the .query-rules system index is missing " :
13+ - skip :
14+ features : [ headers ]
15+ - do :
16+ headers :
17+ # Force JSON content type so that we use a parser that interprets the floating-point score as a double
18+ Content-Type : application/json
19+ search :
20+ index : test-index1
21+ body :
22+ retriever :
23+ rule :
24+ match_criteria :
25+ foo : foo
26+ bar : bar
27+ ruleset_ids :
28+ abc
29+ retriever :
30+ standard :
31+ query :
32+ query_string :
33+ query : bar
34+ explain : true
35+ catch : " missing"
You can’t perform that action at this time.
0 commit comments