国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

elasticsearch創(chuàng)建索引報(bào)[type=mapper_parsing_exception, reason=Failed to parse mapping [_doc]......

這篇具有很好參考價值的文章主要介紹了elasticsearch創(chuàng)建索引報(bào)[type=mapper_parsing_exception, reason=Failed to parse mapping [_doc]......。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

小伙伴們,你們好,我是老寇

經(jīng)過反復(fù)排查,發(fā)現(xiàn)是安裝的pinyin和ik分詞版本不對,只需要修改成與es版本一致即可

es 7.6.2 舉例

1.在windows界面用壓縮軟件打開elasticsearch-analysis-ik-7.6.2.jar

elasticsearch exception [type=mapper_parsing_exception, reason=failed to par,elasticsearch,elasticsearch

2.將pom.xml拖出到桌面

3.修改版本

elasticsearch exception [type=mapper_parsing_exception, reason=failed to par,elasticsearch,elasticsearch

4.將pom.xml放回壓縮包(原路放回

5. elasticsearch-analysis-pinyin-7.6.2.jar重復(fù)步驟1,2,3,4

6.重啟elasticsearch

大功告成文章來源地址http://www.zghlxwxcb.cn/news/detail-542972.html

到了這里,關(guān)于elasticsearch創(chuàng)建索引報(bào)[type=mapper_parsing_exception, reason=Failed to parse mapping [_doc]......的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • Elasticsearch(ES)(版本7.x)創(chuàng)建索引報(bào)錯:Faile to parse mapping [_doc] Root mapping definition has unsupported

    Elasticsearch(ES)(版本7.x)創(chuàng)建索引報(bào)錯:Faile to parse mapping [_doc] Root mapping definition has unsupported

    Elasticsearch(ES)(版本7.x)創(chuàng)建索引報(bào)錯: 因es7.0版本之后不再需要type doc,把上面語句中的doc刪掉,再運(yùn)行就可以創(chuàng)建索引了。 如果還需要type doc則需要增加include_type_name=true即可解決。 示例:

    2024年02月16日
    瀏覽(20)
  • elasticsearch 7.12.1報(bào)錯處理:ElasticsearchStatusException[Elasticsearch exception [type=parse_exception]

    提示:文章寫完后,目錄可以自動生成,如何生成可參考右邊的幫助文檔 最近在使用RestHighLevelClient測試后端數(shù)據(jù)時,遇到如下一個報(bào)錯: 問題出在我沒有給 geoDistanceQuery 設(shè)置中心坐標(biāo) 設(shè)置中心坐標(biāo)后問題得到解決。 以下是elastic客戶端查詢索引的代碼

    2024年02月16日
    瀏覽(25)
  • Elasticsearch exception [type=parsing_exception, reason=[multi_match] unknown token [START_ARRAY] af

    代碼報(bào)錯 QueryBuilder queryBuilder = QueryBuilders.multiMatchQuery(deptIdList, “data.deptId”, “modifiedData.deptId”); multiMatchQuery這個API,第一個參數(shù)不支持List類型, 雖然傳List沒報(bào)錯, 但是往ES發(fā)送查詢請求的時候就會拋異常出來 傳一個字段, 如果你想多字段in查詢,就用類似下面這樣寫法就可以了

    2024年02月07日
    瀏覽(49)
  • 報(bào)錯:Parsed mapper file: ‘file mapper.xml 導(dǎo)致無法啟動

    報(bào)錯:Parsed mapper file: ‘file mapper.xml 導(dǎo)致無法啟動

    報(bào)錯 : Logging initialized using \\\'class org.apache.ibatis.logging.stdout.StdOutImpl\\\' adapter. Registered plugin: \\\'com.github.yulichang.interceptor.MPJInterceptor@3b2c8bda\\\' Parsed mapper file: \\\'file [/Mapper.xml]\\\' ?application無法啟動 我這邊產(chǎn)生原因是項(xiàng)目中添加了 mybayis-plus-join插件 導(dǎo)致這個問題 然后本人一頓騷操作:升

    2024年02月04日
    瀏覽(22)
  • elasticsearch索引操作,索引創(chuàng)建、索引更新、索引刪除

    創(chuàng)建索引 更新索引,添加字段 注意更新索引時與創(chuàng)建索引大致一樣,只是更新索引時候的url不同,需要在后面加一個 _mapping 路徑,同時請求的json里面不需要 mappings 路徑,只需要 properties 即可 更新索引,修改配置 同理在更新setting的時候和更新maping的時候一樣 獲取索引結(jié)構(gòu)

    2024年02月11日
    瀏覽(20)
  • es elasticsearch 九 索引index 定制分詞器 type結(jié)構(gòu)后期棄用原因 定制動態(tài)映射 動態(tài)映射模板 零停機(jī)重建索引

    es elasticsearch 九 索引index 定制分詞器 type結(jié)構(gòu)后期棄用原因 定制動態(tài)映射 動態(tài)映射模板 零停機(jī)重建索引

    目錄 索引index 定制分詞器 Type底層結(jié)構(gòu)及棄用原因 定制 dynamic mapping 定制dynamic mapping template 動態(tài)映射模板 零停機(jī)重建索引 生產(chǎn)環(huán)境應(yīng)該度別名數(shù)據(jù) 索引index Put /index Stings 分片 Mapping 映射 Aliases 別名 增加 Put my_index2 { ?????? \\\"settings\\\":{ ?????? ?? \\\"number_of_shards\\\":3, ?????

    2024年02月06日
    瀏覽(19)
  • elasticsearch中的數(shù)據(jù)類型search_as_you_type及查看底層Lucene索引

    elasticsearch中的數(shù)據(jù)類型search_as_you_type及查看底層Lucene索引

    search_as_you_type字段類型用于自動補(bǔ)全,當(dāng)用戶輸入搜索的時候,還沒輸完就可以提示用戶相關(guān)內(nèi)容。as_you_type應(yīng)該是說當(dāng)你打字的時候。它會給索引里的這個類型的字段添加一些子字段_2gram _3gram和_index_prefix。_2gram的意思是,如果一個值是abcd, 2 gram就是ab bc cd, 3 gram就是

    2024年02月12日
    瀏覽(21)
  • es創(chuàng)建索引庫bug。Failed to parse mapping [_doc]: analyzer [ik_smart] has not been configured in mappings

    es創(chuàng)建索引庫bug。Failed to parse mapping [_doc]: analyzer [ik_smart] has not been configured in mappings

    前提: ? ? ? ? ? ? ? ? 出現(xiàn)這個bug是因?yàn)樵贚inux端使用docker-compose 部署好es后沒有在plugins目錄下配置好ik分詞器,導(dǎo)致在es管理開發(fā)工具端,使用帶有ik_smart分詞的配置進(jìn)行索引庫創(chuàng)建映射導(dǎo)致的bug! ? ? ? ? ? ? 解決方案: ? ? ? ? ? ? ? ? 在Linux端的es部署目錄下創(chuàng)建plugins配件

    2024年02月04日
    瀏覽(20)
  • elasticsearch創(chuàng)建索引模板

    elasticsearch創(chuàng)建索引模板

    在es數(shù)據(jù)保存數(shù)據(jù),數(shù)據(jù)量很大時,如日志記錄,監(jiān)控?cái)?shù)據(jù)等,需要按月或者按日分索引保存,需要創(chuàng)建統(tǒng)一模板來規(guī)定數(shù)據(jù)格式。 可以通過kibana創(chuàng)建 創(chuàng)建模板 創(chuàng)建template之后創(chuàng)建索引

    2024年02月11日
    瀏覽(26)
  • elasticsearch中手動創(chuàng)建索引失敗

    想通過kibana的dev tool工具或者cerebro工具的rest來手動創(chuàng)建索引 創(chuàng)建失敗,錯誤代碼403,錯誤提示:“reason”: “action [indices:admin/create] is unauthorized for user [分配的es用戶名]”} 報(bào)錯提示: 每個用戶在分配用戶和角色時被固定了索引格式,如果你的請求操作的目標(biāo)索引不存在于

    2024年02月13日
    瀏覽(18)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包