导航:首页 > 程序命令 > 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命令查询相关的资料

热点内容
阿里网盘的文件如何解压 浏览:781
简单淘宝客源码 浏览:680
煎饼解压视频教程全集 浏览:339
平行线pdf 浏览:631
android锁屏不退出程序运行 浏览:635
sap连接的服务器地址是 浏览:426
linuxshell脚本从入门到精通 浏览:725
python进制均值 浏览:629
pdfformac 浏览:317
用虚拟服务器是什么目的 浏览:192
压缩机阿里巴巴 浏览:637
主图指标源码回踩 浏览:161
怎么验证服务器端口 浏览:612
如何添加密码卡 浏览:671
2021好声音在哪个app观看 浏览:126
压缩层计算深度 浏览:391
爱奇艺怎么不能源码输出 浏览:834
小孩视力训练app哪个好 浏览:831
表格上加密码 浏览:202
服务器如何调时间 浏览:417