跳至主要內容

[elastsearch] Rejecting mapping update to [XXX] as the final mapping would have more than 1 type: [XXX, XX]"

{
    "error": {
        "root_cause": [
            {
                "type": "illegal_argument_exception",
                "reason": "Rejecting mapping update to [brady] as the final mapping would have more than 1 type: [tweet1, tweet]"
            }
        ],
        "type": "illegal_argument_exception",
        "reason": "Rejecting mapping update to [brady] as the final mapping would have more than 1 type: [tweet1, tweet]"
    },
    "status": 400
}

原因:6.0的版本不允许一个index下面有多个type,并且官方说是在接下来的7.0版本中会删掉type
https://blog.csdn.net/gwd1154978352/article/details/82855837

分類:elastsearch
由 Compete Themes 設計的 Author 佈景主題