PUT提交报错,我没有写2个MAN,为什么还会报一些看不明白的错
{
"settings": {
"number_of_shards":3,
"number_of_replicas":1
},
"mappings": {
"man": {
"properties": {
"name": {
"type": "text"
},
"country":{
"type" : "keyword"
},
"age":{
"type": "integer"
},
"date":{
"type": "date",
"formate":"yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
}
}
}
}
}
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [date] has unsupported parameters: [formate : yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [man]: Mapping definition for [date] has unsupported parameters: [formate : yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [date] has unsupported parameters: [formate : yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis]"
}
},
"status": 400
}