What is this error? is it going to affect anything

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

It will only affect you when you will switch to 7.0 where you have to remove this line:

"message": {

thank you for the answer sir

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.