Skip to content

Commit bc20248

Browse files
author
Tyler Smalley
authored
Removes use of prefer_v2_templates (#66316) (#66347)
prefer_v2_templates is no longer an accepted query parameter. V2 templates are now preferred by default. Signed-off-by: Tyler Smalley <[email protected]>
1 parent 72b6007 commit bc20248

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

x-pack/test/functional/es_archives/endpoint/policy/mappings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@
499499
},
500500
"number_of_replicas": "1",
501501
"number_of_shards": "1",
502-
"prefer_v2_templates": "true",
503502
"query": {
504503
"default_field": [
505504
"message"

x-pack/test/functional/es_archives/reporting/archived_reports/mappings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@
100100
"index": {
101101
"auto_expand_replicas": "0-1",
102102
"number_of_replicas": "0",
103-
"number_of_shards": "1",
104-
"prefer_v2_templates": "false"
103+
"number_of_shards": "1"
105104
}
106105
}
107106
}

0 commit comments

Comments
 (0)