上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: ![](https://img2020.cnblogs.com/blog/737467/202103/737467-20210320173825689-1817918566.png) 阅读全文
posted @ 2021-03-20 17:39 xuan_wu 阅读(115) 评论(0) 推荐(0) 编辑
摘要: ICMP介绍 ICMP(Internet Control Message Protocol)用于主机或者路由器报告差错情况和提供有关异常的情况报告,和IP协议同时处于网络层,但是ICMP会使用IP,最终由IP来传输其信息(everything is over ip) 常规ICMP报文格式截图: 主要 阅读全文
posted @ 2021-03-17 23:30 xuan_wu 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: es聚合,类似于sql中的group: Bucket aggregation:满足特定条件的文档的集合 Metric aggregation:数学运算,对文档字段进行统计分析 Pipeline aggregation:对其他聚合结果进行二次聚合 Matrix aggregation:多字段操作,并提 阅读全文
posted @ 2021-03-13 19:00 xuan_wu 阅读(261) 评论(0) 推荐(0) 编辑
摘要: TCP传输的数据大小大于MTU(1500),是什么原因导致的呢? 阅读全文
posted @ 2021-03-08 23:30 xuan_wu 阅读(2616) 评论(1) 推荐(1) 编辑
摘要: 什么是mapping mapping类似于数据库的schema,表结构,主要作用如下: 定义索引中字段的名称 字段的数据类型 倒排索引相关的配置 mapping会把es中的json文档映射成lucene所需要的扁平格式。 字段类型 简单类型 Text / Keyword Date Integer / 阅读全文
posted @ 2021-03-07 23:26 xuan_wu 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Search调用 /index1/_search /index1,index2/_search /index*/_search URI Search get /users/_search?q=is&df=message&sort=post_date:desc&from=3&size=10&timeo 阅读全文
posted @ 2021-03-07 19:06 xuan_wu 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 倒排索引 常规目录:正排索引,文档id到文档内容和单词的关联 附录索引:倒排索引,单词到文档id的关联 倒排索引项组成 文档id 词频,相关性 位置 偏移,开始和结束的位置,用于高亮显示等 elasticsearch的json的每一个字段都有自己的倒排索引 analysis分词 Analyzer是e 阅读全文
posted @ 2021-03-07 17:12 xuan_wu 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Create 不指定id // create document. 自动生成_id POST users/_doc { "user":"Mike", "post_date":"2021-03-07", "message":"this is mike" } 指定id (如果存在则报错) // creat 阅读全文
posted @ 2021-03-07 15:28 xuan_wu 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 一、前置条件 启动es 二、安装kibana 安装 tar xf kibana-7.11.1-darwin-x86_64.tar.gz -C /Applications 启动 bin/kibana 浏览器查看 http://localhost:5601/ 三、deltools http://loca 阅读全文
posted @ 2021-03-06 18:34 xuan_wu 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 一、es安装 1.2 下载后解压 tar xf elasticsearch-7.11.1-darwin-x86_64.tar.gz -C /Applications 1.2 启动es bin/elasticsearch 1.3 浏览器查看 http://localhost:9200/ 二、es插件安 阅读全文
posted @ 2021-03-06 18:06 xuan_wu 阅读(794) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页