PUT _template/product_template
{
"index_patterns": [
"master_product*"
],
"settings": {
"number_of_shards": 1
},
"mappings": {
"message": {
"properties": {
"id_product": {
"type": "integer"
},
"code_product": {
"type": "keyword"
},
"name_product": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"satuan_product": {
"type": "text"
},
"merek_vehicle": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"jenis_vehicle": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"merek_product": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"part_number": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"weight": {
"type": "float"
},
"unit_weight": {
"type": "text"
}
}
}
}
}
and i got this message after i created that
#! Deprecation: [types removal] The parameter include_type_name should be explicitly specified in put template requests to prepare for 7.0. In 7.0 include_type_name will default to 'false', and requests are expected to omit the type name in mapping definitions.
{
"acknowledged" : true
}
is this an error, is this going to affect anything? thank you