【发布时间】:2021-01-11 11:46:48
【问题描述】:
我正在尝试向我已经存在的 Elasticsearch 索引中添加一个新字段,但出现以下异常:
{
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: mapping type is missing;"
}
我正在使用以下 API
PUT order/_mapping
{
"properties": {
"title": { "type": "text"}
}
}
【问题讨论】:
-
你用的是哪个版本的elasticsearch?
-
Elasticsearch 版本 6.4.2
标签: elasticsearch