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

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep

這篇具有很好參考價值的文章主要介紹了org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep,elasticsearch,大數(shù)據(jù),搜索引擎,bug

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_exception, reason=request [/zc/_search] contains unrecognized parameters: [ccs_minimize_roundtrips], [ignore_throttled]]

原因:

該異常是由于在對索引進行搜索請求時,使用了不被識別的參數(shù)導(dǎo)致的。具體來說,異常信息中列出了兩個不被識別的參數(shù),分別是ccs_minimize_roundtripsignore_throttled。

  • ccs_minimize_roundtrips參數(shù)是用于跨群集搜索(cross-cluster search)中,用來減少往返請求次數(shù)的優(yōu)化參數(shù)。但是,該參數(shù)在當(dāng)前的搜索請求中不被識別,可能是由于 Elasticsearch 版本不支持該參數(shù)或者配置不正確。

  • ignore_throttled參數(shù)用于在搜索請求中忽略被限流(throttled)的分片。同樣地,該參數(shù)在當(dāng)前的搜索請求中不被識別,可能是由于 Elasticsearch 版本不支持該參數(shù)或者配置有誤。

解決方案:

1.檢查當(dāng)前的 Elasticsearch 版本是否支持指定的參數(shù)

2.服務(wù)器版本和pom文件版本問題

檢查pom中es版本

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep,elasticsearch,大數(shù)據(jù),搜索引擎,bug

<properties>
    <java.version>1.8</java.version>
    <elasticsearch.version>7.12.1</elasticsearch.version>
</properties>
<dependencies>
    <!--elasticsearch-->
    <dependency>
        <groupId>org.elasticsearch.client</groupId>
        <artifactId>elasticsearch-rest-high-level-client</artifactId>
    </dependency>
</dependencies>

進入http://localhost:9200/

檢查es服務(wù)器版本 ,是否與pom文件中版本一致

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep,elasticsearch,大數(shù)據(jù),搜索引擎,bug

更換成支持指定參數(shù)的版本且運行es服務(wù)器版本和pom文件中es版本一致文章來源地址http://www.zghlxwxcb.cn/news/detail-716449.html

到了這里,關(guān)于org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

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

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

相關(guān)文章

  • 操作elasticsearch出現(xiàn)cluster_block_exception

    操作elasticsearch出現(xiàn)cluster_block_exception

    在操作ES的時候報403的錯誤并且提示 reason blocked by FORBIDDEN/12/index read-only / allow delete 主要是ES存儲空間不足,es觸發(fā)了自動保護機制,將索引設(shè)置為只讀模式 PUT 地址/ 索引 / _settings 我使用的是谷歌插件elasticsearch-head

    2024年02月17日
    瀏覽(18)
  • 記錄Elasticsearch circuit_breaking_exception異常解決

    記錄Elasticsearch circuit_breaking_exception異常解決

    Flink消費Kafka數(shù)據(jù)寫入ES 組件版本: CDH:6.3.0 Flink:1.12.1 Elasticsearch:7.7.0 Caused by: ElasticsearchStatusException[Elasticsearch exception [type=circuit_breaking_exception, reason=[parent] Data too large, data for [http_request] would be [1979396994/1.8gb], which is larger than the limit of [1972122419/1.8gb], real usage: [1977917952/1.8gb

    2023年04月21日
    瀏覽(19)
  • ElasticSearch|too_many_buckets_exception解決方法

    報錯信息 ES 執(zhí)行聚合查詢時報錯,報錯信息如下: 原因定位 因為聚合查詢的桶數(shù)超過了 ES 集群配置的最大桶數(shù)的上限。ES 聚合查詢最大桶數(shù)的參數(shù)文檔如下(地址): search.max_buckets (Dynamic, integer) Maximum number of aggregation buckets allowed in a single response. Defaults to 65,536. Requests t

    2024年02月04日
    瀏覽(26)
  • failed to load elasticsearch nodes : org.elasticsearch.client.transport.NoNodeAvailableException: No

    今天在學(xué)習(xí)mall項目時配置Elasticsearch遇到上面這個問題,由于作者SpringBoot使用的是2.1.3版本,使用起步依賴導(dǎo)入的ES版本是6.3.4。而我使用的ES版本是7.6.1,如是我將起步依賴的ES版本改為7.6.1。改完后再啟動發(fā)現(xiàn)拋出上面這個錯誤,最后確認(rèn)是使用的SpringData版本與ElasticSearch版本

    2024年02月16日
    瀏覽(16)
  • ES排序報錯:Elasticsearch exception [type=illegal_argument_exception, reason=Text

    翻譯過來就是: 對于需要每個文檔字段數(shù)據(jù)(如聚合和排序)的操作,文本字段沒有進行優(yōu)化,因此這些操作在默認(rèn)情況下是禁用的。請使用字段代替?;蛘撸赱createTime]上設(shè)置fielddata=true,以便通過反求倒排索引來加載字段數(shù)據(jù)。注意,這可能會使用有效內(nèi)存。] 更改后

    2024年02月11日
    瀏覽(25)
  • 【cluster_block_exception】寫操作elasticsearch索引報錯

    【cluster_block_exception】寫操作elasticsearch索引報錯

    今天線上elk的數(shù)據(jù)太多,服務(wù)器的空間不足了。所以打算刪除一些沒用用的數(shù)據(jù)。我是用下面的request: 但是出錯了。 { _index: ‘’, _type: ‘type’, _id: ‘record id’, status: 403, error: { type: ‘cluster_block_exception’, reason: ‘blocked by: [FORBIDDEN/8/index write (api)];’ } } (都是比較簡單的英

    2024年02月13日
    瀏覽(17)
  • 解決Elasticsearch集群 master_not_discovered_exception 異常

    錯誤描述 查看集群健康返回以下錯誤: 我通過docker命令在三臺機器上分別啟動es應(yīng)用后,單個節(jié)點可以通過網(wǎng)絡(luò)訪問,但是他們彼此之間卻顯示無法通信,導(dǎo)致選舉失敗,發(fā)現(xiàn)不了主節(jié)點。 問題排查 查看es日志發(fā)現(xiàn): java.net.NoRouteToHostException: No route to host (Host unreachable) 重要

    2024年02月01日
    瀏覽(18)
  • Elasticsearch exception [type=index_not_found_exception, reason=no such index [**]]

    Elasticsearch exception [type=index_not_found_exception, reason=no such index [**]]

    ?1.代碼運行出現(xiàn)找不到Index,先排除index是否存在。 ? 2.springboot和ES映射,默認(rèn)是把對象類型映射為index,class對象默認(rèn)是大寫開頭,所以要看是都是因為大小寫不匹配。如若因為大小寫原因?qū)е拢梢酝ㄟ^@Document注解指定index ?

    2024年02月14日
    瀏覽(23)
  • Caused by: ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=Roo

    Caused by: ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=Roo

    ?我們在使用RestClient創(chuàng)建索引庫時出現(xiàn)了這個錯誤。 可以檢查一下 CreateIndexRequest 類型變量request 是否導(dǎo)入正確的包 有兩個同名的包,我們選擇: import org.elasticsearch.client.indices.CreateIndexRequest; ? ? 測試成功 ?創(chuàng)建的DSL的索引庫 ?以上解決辦法參考 Elasticsearch exception [type=mapp

    2024年01月23日
    瀏覽(25)
  • Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]

    Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]

    Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed] 今天在做項目遇到這個問題,Es那邊出現(xiàn)了問題,谷粒商城去Es中查數(shù)據(jù)的時候,根據(jù)品牌id去查詢數(shù)據(jù)報錯。 ? {\\\"error\\\":{\\\"root_cause\\\":[{ \\\"type\\\":\\\"query_shard_exception\\\",\\\"reason\\\":\\\"failed to create query: {n ?\\\"bool\\\" : {n ? ?\\\"fil

    2024年02月02日
    瀏覽(23)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

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

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

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包