上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: mysql - DML语句 dml:数据库操作语言 插入:insert 修改:update 删除:delete 插入语句 方式一:经典插入 insert into 表名 (列名,...) values(值1,...); insert into students(name,hometown,birth 阅读全文
posted @ 2021-06-25 23:30 扬帆去远航 阅读(249) 评论(0) 推荐(0)
摘要: mysql-group by分组用法 sql执行顺序 select 查询列表 -- 7 from 表 -- 1 join 表2 -- 2 on 连接条件 -- 3 where 筛选条件 -- 4 group by 分组字段 -- 5 having 分组后的筛选 -- 6 order by 排序的字段 阅读全文
posted @ 2021-06-25 22:58 扬帆去远航 阅读(428) 评论(0) 推荐(0)
摘要: Elasticsearch-高亮查询 GET mall/goods/_search { "query": { "match": { "b_name": "怎样女" } }, "highlight": { "pre_tags": "<p>", "post_tags": "</p>", "fields" 阅读全文
posted @ 2021-06-22 01:17 扬帆去远航 阅读(78) 评论(0) 推荐(0)
摘要: Elasticsearch-文档精确查询(term) term精准查询 match & term match:匹配查询 term:精准查询 term&match + text&keyword term&match 区别 term:精确查询,对查询的值不分词,直接进倒排索引去匹配。 match:模糊查 阅读全文
posted @ 2021-06-22 00:26 扬帆去远航 阅读(1347) 评论(0) 推荐(1)
摘要: Elasticsearch-文档查询 官网-深入搜索 数据准备 URI查询 简单查询 mall/goods/1 条件查询 GET mall/goods/_search?q=b_name: "如何" Body复杂查询 匹配查询 GET mall/goods/_search { "query": { " 阅读全文
posted @ 2021-06-22 00:21 扬帆去远航 阅读(140) 评论(0) 推荐(0)
摘要: Elasticsearch-Api基本使用 Restful风格命令说明 | method | url地址 | 描述 | | | | | | PUT | localhost:9200/索引名称/类型名称/文档id | 创建文档(指定文档id) | | POST | localhost:9200/索引名 阅读全文
posted @ 2021-06-21 00:07 扬帆去远航 阅读(141) 评论(0) 推荐(0)
摘要: ElasticSearch-ik分词器 IK分词器安装使用 下载地址:https://github.com/medcl/elasticsearch-analysis-ik/releases 下载对应版本即可: 安装: 下载箭头中的压缩包就行了,下载之后解压到elasticsearch的plugins 阅读全文
posted @ 2021-06-20 01:56 扬帆去远航 阅读(2827) 评论(0) 推荐(0)
摘要: Elasticsearch+head插件+kibana安装 ELK下载地址 安装最低要求:JDK1.8 ELK下载地址: ElasticSearch: https://mirrors.huaweicloud.com/elasticsearch/?C=N&O=D logstash: https://m 阅读全文
posted @ 2021-06-20 00:38 扬帆去远航 阅读(211) 评论(0) 推荐(0)
摘要: 使用fiddler做弱网测试 我们先测试使用一波: 勾选 simulate Modem speed:模拟调制解调器速度 开始访问任意一个网址,发现网络慢了很多 原理是什么呢?我们看下fiddler脚本 首先打开fiddler脚本 搜索关键字:m_SimulateModem,发现默认为flase,即默 阅读全文
posted @ 2021-06-19 00:13 扬帆去远航 阅读(342) 评论(0) 推荐(0)
摘要: 使用fiddler做mock测试 为什么使用到mock? 后端接口没有开发好,前端或者测试提前介入...(我觉得这个场景应该并不多) 一般测试的时候都是在数据库造不同场景的数据来验证后端接口的逻辑性,但也有一种场景是后端接口返回不同数据来验证前端的展示效果等... 还有一种场景就是测试流程有阻塞的时 阅读全文
posted @ 2021-06-18 23:43 扬帆去远航 阅读(486) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页