@@ -121,7 +121,11 @@ tasks.named("yamlRestCompatTest").configure {
121
121
' search/160_exists_query/Test exists query on _type field' ,
122
122
// type information is not stored, hence the the index will be found
123
123
' termvectors/50_mix_typeless_typeful/Term vectors with typeless API on an index that has types' ,
124
- // 85 - 13 = 72 tests won't be fixed
124
+ // mget - these use cases are no longer valid, because we always default to _doc.
125
+ // This mean test cases where there is assertion on not finging by type won't work
126
+ ' mget/11_default_index_type/Default index/type' ,
127
+ ' mget/16_basic_with_types/Basic multi-get' ,
128
+ // 88 - 14 = 74 tests won't be fixed
125
129
' cluster.voting_config_exclusions/10_basic/Throw exception when adding voting config exclusion and specifying both node_ids and node_names' ,
126
130
' cluster.voting_config_exclusions/10_basic/Throw exception when adding voting config exclusion without specifying nodes' ,
127
131
' count/11_basic_with_types/count body without query element' ,
@@ -169,22 +173,6 @@ tasks.named("yamlRestCompatTest").configure {
169
173
' indices.upgrade/10_basic/Upgrade indices disallow no indices' ,
170
174
' indices.upgrade/10_basic/Upgrade indices disallow unavailable' ,
171
175
' indices.upgrade/10_basic/Upgrade indices ignore unavailable' ,
172
- ' mget/10_basic/Basic multi-get' ,
173
- ' mget/11_default_index_type/Default index/type' ,
174
- ' mget/14_alias_to_multiple_indices/Multi Get with alias that resolves to multiple indices' ,
175
- ' mget/16_basic_with_types/Basic multi-get' ,
176
- ' mget/17_default_index/Default index/type' ,
177
- ' mget/18_non_existent_index_with_types/Non-existent index' ,
178
- ' mget/19_missing_metadata_with_types/Missing metadata' ,
179
- ' mget/21_alias_to_multiple_indices_with_types/Multi Get with alias that resolves to multiple indices' ,
180
- ' mget/22_ids_with_types/IDs' ,
181
- ' mget/23_stored_fields_with_types/Stored fields' ,
182
- ' mget/41_routing_with_types/Routing' ,
183
- ' mget/61_realtime_refresh_with_types/Realtime Refresh' ,
184
- ' mget/71_source_filtering_with_types/Source filtering - exclude field' ,
185
- ' mget/71_source_filtering_with_types/Source filtering - include field' ,
186
- ' mget/71_source_filtering_with_types/Source filtering - include nested field' ,
187
- ' mget/71_source_filtering_with_types/Source filtering - true/false' ,
188
176
' mlt/20_docs/Basic mlt query with docs' ,
189
177
' mlt/30_unlike/Basic mlt query with unlike' ,
190
178
' search.aggregation/10_histogram/Deprecated _time order' ,
@@ -308,6 +296,17 @@ tasks.named("transformV7RestTests").configure({ task ->
308
296
// overrides for indices.get_mapping
309
297
task. replaceIsTrue(" test_1.mappings.doc" , " test_1.mappings._doc" )
310
298
task. replaceIsTrue(" test_2.mappings.doc" , " test_2.mappings._doc" )
299
+ // overrides for mget
300
+ task. replaceValueInMatch(" docs.0._type" , " _doc" , " Basic multi-get" ) // index found, but no doc
301
+ task. replaceValueInMatch(" docs.0._type" , " _doc" , " Default index/type" )
302
+ task. replaceValueInMatch(" docs.0._type" , " _doc" , " Non-existent index" )
303
+ task. replaceValueInMatch(" docs.0._type" , " _doc" , " Missing metadata" )
304
+ task. replaceValueInMatch(" docs.0._type" , " _doc" , " Multi Get with alias that resolves to multiple indices" )
305
+ task. replaceValueInMatch(" docs.1._type" , " _doc" , " Multi Get with alias that resolves to multiple indices" )
306
+ task. replaceValueInMatch(" docs.2._type" , " _doc" , " Multi Get with alias that resolves to multiple indices" )
307
+ task. replaceValueInMatch(" docs.0._type" , " _doc" , " IDs" )
308
+ task. replaceValueInMatch(" docs.1._type" , " _doc" , " IDs" )
309
+ task. replaceValueInMatch(" docs.2._type" , " _doc" , " Routing" )
311
310
})
312
311
313
312
tasks. register(' enforceYamlTestConvention' ). configure {
0 commit comments