From bc4e1f5eb9428ea0e7a40333f28aed0cf52ce697 Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Tue, 12 May 2020 19:16:53 -0700 Subject: [PATCH] Removes use of prefer_v2_templates (#66316) prefer_v2_templates is no longer an accepted query parameter. V2 templates are now preferred by default. Signed-off-by: Tyler Smalley # Conflicts: # x-pack/test/functional/es_archives/endpoint/resolver_tree/api_feature/mappings.json --- .../test/functional/es_archives/endpoint/policy/mappings.json | 1 - .../es_archives/reporting/archived_reports/mappings.json | 3 +-- 2 files changed, 1 insertion(+), 3 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 4a9b0bdd11f0b..828085809ad1f 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/reporting/archived_reports/mappings.json b/x-pack/test/functional/es_archives/reporting/archived_reports/mappings.json index 20f8f840ee863..3c3225a70d47f 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" } } }