diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml index f6b82a74d34..521dc4c1cac 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml @@ -7,7 +7,6 @@ setup: test: properties: numeric_group: { type: integer } - group_alias: { type: alias, path: numeric_group } - do: index: @@ -354,6 +353,14 @@ setup: - skip: version: " - 6.3.99" reason: Field aliases were introduced in 6.4.0. + - do: + indices.put_mapping: + index: test + type: test + body: + test: + properties: + group_alias: { type: alias, path: numeric_group } - do: search: index: test