PUT /gunspoc
{
"mappings": {
"properties": {
"name": {
"type": "keyword"
},
"age": {
"type": "long"
},
"address": {
"type": "text"
},
"birthday": {
"type": "date"
}
}
}
}
就是7.0版本的问题:
ElasticSearch 7.4.2 Root mapping definition has unsupported parameters_键盘上的手艺人-cloudFly的博客-优快云博客