导航:首页 > 程序命令 > es命令查询

es命令查询

发布时间:2023-02-15 21:09:17

‘壹’ es 常用命令总结

fielddata是全加载进入内存,主要用处在排序和聚合字段
fielddata与doc values区别:
4.1 相同点

4.2 不同点

fielddata: 内存存储;doc_values: OS Cache+磁盘存储

fielddata: 对应的字段类型是text; doc_values:对应的字段类型是keyword

field_data主要针对的是分词字段;doc_values针对大是不分词字段

fielddata默认不开启;doc_values默认是开启

7 bm2.5文档 The Probabilistic Relevance Framework: BM25 and Beyond.
https://blog.mimacom.com/bm25-got/

GET _tasks?detailed=true&actions=*indices:data/read/search

POST _tasks/CdoilmnzRVyllc0PbRbB2w:7280/_cancel

16 查看节点所占内存
/_cat/nodes?v&format=json&h=ip,port,v,m,fdp,mc,mcs,sc,sm,qcm,fm,im,siwm,svmm

获取二进制的head mp文件 jmap -mp:format=b,file=/tmp/es_heap.bin <pid> 其中pid是ES JAVA进程的进程号。

PUT /索引名称/_settings
{
"index.search.slowlog.threshold.query.warn": "1s",
"index.search.slowlog.threshold.query.info": "500ms",
"index.search.slowlog.threshold.query.debug": "300ms",
"index.search.slowlog.threshold.query.trace": "100ms",
"index.search.slowlog.threshold.fetch.warn": "1s",
"index.search.slowlog.threshold.fetch.info": "500ms",
"index.search.slowlog.threshold.fetch.debug": "300ms",
"index.search.slowlog.threshold.fetch.trace": "100ms",
"index.search.slowlog.level": "info"
}

阅读全文

与es命令查询相关的资料

热点内容
老白程序员在奋斗 浏览:1000
已加密的pdf 浏览:390
ajax基础教程源码 浏览:338
程序员和产品的日常 浏览:438
命令行运行scala 浏览:808
python怎么交叉输出比例 浏览:498
net程序员要求 浏览:316
pythondiaoyongjava 浏览:639
如何制作存储服务器 浏览:774
导航卡在车上怎么选文件夹 浏览:969
java实时数据库 浏览:712
方正pdf阅读器 浏览:514
学程序员学历要求 浏览:637
程序员产品打架 浏览:109
朱东润pdf 浏览:542
如何得到命令风块 浏览:46
车辆超过2年未解压 浏览:461
mobitopdf在线 浏览:75
微指令控制字段的编译方法有 浏览:394
cad印刷命令怎么用 浏览:690