File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/msearch Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 11---
22setup :
3+ - requires :
4+ test_runner_features : allowed_warnings
35
46 - do :
57 index :
@@ -67,6 +69,12 @@ setup:
6769 rest_total_hits_as_int : true
6870 max_concurrent_shard_requests : 1
6971 max_concurrent_searches : 1
72+ ignore_unavailable : false
73+ ignore_throttled : false
74+ allow_no_indices : false
75+ expand_wildcards : open
76+ include_named_queries_score : false
77+ index : index_*
7078 body :
7179 - index : index_*
7280 - query :
8391 - {}
8492 - query :
8593 match_all : {}
94+ allowed_warnings :
95+ - " [ignore_throttled] parameter is deprecated because frozen indices have been deprecated. Consider cold or frozen tiers in place of frozen indices."
8696
8797 - match : { responses.0.hits.total: 2 }
8898 - match : { responses.1.hits.total: 1 }
Original file line number Diff line number Diff line change 1+ ---
2+ setup :
3+ - do :
4+ index :
5+ index : index_1
6+ routing : " 1"
7+ id : " 1"
8+ body : { foo: bar }
9+
10+ - do :
11+ indices.refresh : {}
12+
13+ ---
14+ " Routing " :
15+
16+ - do :
17+ msearch :
18+ rest_total_hits_as_int : true
19+ routing : " 1"
20+ body :
21+ - {}
22+ - query :
23+ match_all : {}
24+
25+ - match : { responses.0.hits.total: 1 }
You can’t perform that action at this time.
0 commit comments