Skip to content

Commit

Permalink
Removes used of prefer_v2_templates
Browse files Browse the repository at this point in the history
prefer_v2_templates is no longer an accepted query parameter. V2
templates are now preferred by default.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
Tyler Smalley committed May 12, 2020
1 parent e4c68f1 commit d13dbe8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,6 @@
},
"number_of_replicas": "1",
"number_of_shards": "1",
"prefer_v2_templates": "true",
"query": {
"default_field": [
"message"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,6 @@
},
"number_of_replicas": "1",
"number_of_shards": "1",
"prefer_v2_templates": "true",
"query": {
"default_field": [
"message"
Expand Down Expand Up @@ -2893,7 +2892,6 @@
},
"number_of_replicas": "1",
"number_of_shards": "1",
"prefer_v2_templates": "true",
"query": {
"default_field": [
"message"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit d13dbe8

Please sign in to comment.