第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

PUT提交時報錯

?"type": "illegal_argument_exception",

?"reason": "Rejecting mapping update to [people] as the final mapping would have more than 1 type: [woman, man]"


正在回答

4 回答

這是因?yàn)槟惆惭b了最新版的es,es從6.0以后就不支持一個索引指定多個類型了,默認(rèn)一個類型且不能修改!所以你添加了兩個類型就會報錯

5 回復(fù) 有任何疑惑可以回復(fù)我~
#1

kennethwoman

這個有解決方法嗎
2018-10-09 回復(fù) 有任何疑惑可以回復(fù)我~

請問解決了嗎?我也報這個錯誤

http://localhost:9200/

book/novel/_mappings

POST方式

{

? "novel": {

? ? "properties": {

? ? ? "title": {

? ? ? ? "type": "text"

? ? ? }

? ? }

? }

}


錯誤信息

{

  • "error":?{},

    • {}

    • "type":?"illegal_argument_exception",

    • "reason":?"Rejecting mapping update to [book] as the final mapping would have more than 1 type: [novel_mappings, novel]"

    • "root_cause":?[],

    • "type":?"illegal_argument_exception",

    • "reason":?"Rejecting mapping update to [book] as the final mapping would have more than 1 type: [novel_mappings, novel]"

  • "status":?400

}


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

codxiao

這是因?yàn)槟惆惭b了最新版的es,es從6.0以后就不支持一個索引指定多個類型了,默認(rèn)一個類型且不能修改!所以你添加了兩個類型就會報錯
2018-06-17 回復(fù) 有任何疑惑可以回復(fù)我~

請問這個問題解決了嗎,我也是報這個錯誤


0 回復(fù) 有任何疑惑可以回復(fù)我~

看下你的請求? 是不是沒有指定類型

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

PUT提交時報錯

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號