{
"settings":{
"number_of_shards":3,
"number_of_replicas":1
},
"mappings":{
"man":{
"properties":{
"name":{
"type":"text"
},
"country":{
"type":"keyword"
},
"age":{
"type":"integer"
},
"date":{
"type":"date",
"format":"epoch_millis"
}
}
}
}
}
the errors:
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [man : {properties={date={format=epoch_millis, type=date}, country={type=keyword}, name={type=text}, age={type=integer}}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [man : {properties={date={format=epoch_millis, type=date}, country={type=keyword}, name={type=text}, age={type=integer}}}]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Root mapping definition has unsupported parameters: [man : {properties={date={format=epoch_millis, type=date}, country={type=keyword}, name={type=text}, age={type=integer}}}]"
}
},
"status": 400
}
help me please