Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch Version: 2.5.0
OpenSearch Java Version: 2.4.0
Describe the issue:
I am trying to create a dynamic template for a new index, and would like to use {dynamic_type}
template variable in the following template like so:
{
"mappings": {
"dynamic_templates": [
{
"strict_mappings": {
"mapping": {
"type": "{dynamic_type}",
"dynamic":"strict"
},
"match":"*"
}
}
]
}
}
But, it looks like that the Property class does not support adding a template variable. I would like this strict mapping for all the fields in an index. Is there any workaround for this or when will this be supported? Thank you!