You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nshfany legacy index templates (the ones used here) are merged, which is why test_1 matches both templates. This is one of the downsides of legacy templates and has been addressed by composable index templates (#53101) released in 7.9+
Since this behavior is not a bug, I'm going to close this issue.
@nshfany legacy index templates (the ones used here) are merged, which is why test_1 matches both templates. This is one of the downsides of legacy templates and has been addressed by composable index templates (#53101) released in 7.9+
Since this behavior is not a bug, I'm going to close this issue.
Oh~ thanks! This is a fantastic idea! The problem has been solved satisfactorily by the function of V2 template
hello!
Elasticsearch version : elasticsearch 6.8.15
Steps to reproduce:
PUT _template/test_1 { "order":1, "index_patterns" : [ "test_*" ], "mappings":{ "_doc":{ "properties":{ "name":{ "ignore_above" : 10922, "type" : "keyword" } } } } }
PUT _template/test { "order":0, "index_patterns" : [ "test*" ], "mappings":{ "_doc":{ "properties":{ "name":{ "ignore_above" : 10922, "type" : "keyword", "index":false } } } } }
test
andtest_1
PUT test/_doc/1 { "name":"Tom" }
PUT test_1/_doc/1 { "name":"Tom" }
test
andtest_1
GET test/_mapping
GET test_1/_mapping
test_1
is match the templatetest
the elasticsearch server has not any the error message!
The text was updated successfully, but these errors were encountered: