From d13dbe896ad7795b2caf38cc3c96c6d50223b13e Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Tue, 12 May 2020 14:53:15 -0700 Subject: [PATCH] Removes used of prefer_v2_templates prefer_v2_templates is no longer an accepted query parameter. V2 templates are now preferred by default. Signed-off-by: Tyler Smalley --- .../test/functional/es_archives/endpoint/policy/mappings.json | 1 - .../endpoint/resolver_tree/api_feature/mappings.json | 2 -- .../es_archives/reporting/archived_reports/mappings.json | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/x-pack/test/functional/es_archives/endpoint/policy/mappings.json b/x-pack/test/functional/es_archives/endpoint/policy/mappings.json index 4a9b0bdd11f0be..828085809ad1f1 100644 --- a/x-pack/test/functional/es_archives/endpoint/policy/mappings.json +++ b/x-pack/test/functional/es_archives/endpoint/policy/mappings.json @@ -499,7 +499,6 @@ }, "number_of_replicas": "1", "number_of_shards": "1", - "prefer_v2_templates": "true", "query": { "default_field": [ "message" diff --git a/x-pack/test/functional/es_archives/endpoint/resolver_tree/api_feature/mappings.json b/x-pack/test/functional/es_archives/endpoint/resolver_tree/api_feature/mappings.json index 13a16ee4e646d5..e69471c212ec0f 100644 --- a/x-pack/test/functional/es_archives/endpoint/resolver_tree/api_feature/mappings.json +++ b/x-pack/test/functional/es_archives/endpoint/resolver_tree/api_feature/mappings.json @@ -2670,7 +2670,6 @@ }, "number_of_replicas": "1", "number_of_shards": "1", - "prefer_v2_templates": "true", "query": { "default_field": [ "message" @@ -2893,7 +2892,6 @@ }, "number_of_replicas": "1", "number_of_shards": "1", - "prefer_v2_templates": "true", "query": { "default_field": [ "message" diff --git a/x-pack/test/functional/es_archives/reporting/archived_reports/mappings.json b/x-pack/test/functional/es_archives/reporting/archived_reports/mappings.json index 20f8f840ee8631..3c3225a70d47fb 100644 --- a/x-pack/test/functional/es_archives/reporting/archived_reports/mappings.json +++ b/x-pack/test/functional/es_archives/reporting/archived_reports/mappings.json @@ -100,8 +100,7 @@ "index": { "auto_expand_replicas": "0-1", "number_of_replicas": "0", - "number_of_shards": "1", - "prefer_v2_templates": "false" + "number_of_shards": "1" } } }