• 2023-11-25ElasticSearch之cat fielddata API
    命令样例如下:curl-XGET"https://localhost:9200/_cat/fielddata?v=true&pretty"--cacert$ES_HOME/config/certs/http_ca.crt-u"elastic:ohCxPH=QBE+s5=*lo7F9"执行结果输出如下:idhostipnodefieldsizeNqk-6
  • 2023-09-25ES报错:[parent] Data too large, data for [<http_request>] would be larger than limit of XXXX
    ES报错:[parent]Datatoolarge,datafor[<http_request>]wouldbelargerthanlimitofXXXX  当es这个错误的时候:[parent]Datatoolarge,datafor[<http_request>]wouldbelargerthanlimitof[23941899878/22.2gb],with{bytes_wanted=23941987633bytes_l
  • 2023-08-11ES 常用查询语句
    配置查询_cluster/settings_cluster/settings?flat_settings_cluster/settings?include_defaults_cluster/settings?include_defaults&flat_settings/_stats/fielddata/_stats/fielddata?fields=*/_nodes/stats/indices/fielddata?fields=*/_nodes/stats/indices/fielddata?l
  • 2023-08-11Elasticsearch之Doc Value与Fielddata
    1、DocValues倒排索引在搜索包含指定term的doc时非常高效,但是在相反的操作时表现很差:查询一个文档中包含哪些term。具体来说,倒排索引在搜索时最为高效,但在排序、聚合等与指定filed相关的操作时效率低下,需要用doc_values。倒排索引将term映射到包含它们的doc,而docvalues将doc
  • 2023-08-09dynamic form
    Itsoundslikeyou'rebuildingadynamicformwithvariousfieldtypesandpotentialinterdependencies.Thisisamorecomplexscenario,butI'llguideyouthroughthestepstocreatesuchanapplicationusingHTML,CSS,andJavaScript.HTMLS
  • 2023-04-03es(Elasticsearch)查询报错: Set fielddata=true on [level] in order to load fielddata in memory by uninver
     Invocationofinitmethodfailed;nestedexceptionisElasticsearchStatusException[Elasticsearchexception[type=search_phase_execution_exception,reason=allshardsfailed]];nested:ElasticsearchException[Elasticsearchexception[type=illegal_argument_
  • 2023-03-03ES的倒排索引和正排索引以及FieldData
    转:https://server.51cto.com/article/694939.html 1基本概念简介所谓正排索引很简单,就是和我们人脑的记忆更加贴合的一种数据结构。比如记忆古诗,当别人问我
  • 2022-11-29阿里云ELK报错:"reason": "Fielddata is disabled on text fields by default. Set fielddata=tr
    原因是url_date这个字段类型动态转成了text类型,只需要把在kibana索引管理,索引模板添加url_date字段为date类型就可以了,把旧的索引删除,新生成的索引就沿着这个模板 
  • 2022-10-18关于ES索引被聚合查询导致filedata堵塞 (pressure too high, (smooth) bulk request circuit break)
    今天在生产使用kibana查询了一条聚合语句,因为数据量比较大(40亿+),导致fielddatacache飙升,影响了写入,根据官方文档,进行如下操作:执行命令,查询filedatacache使用比较大的索引