上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 1. 下载Logstash 由于我的elasticsearch是6.4.3,索引我logstash下载相同版本 https://artifacts.elastic.co/downloads/logstash/logstash-6.4.3.tar.gz 下mysql java jar包 https:/ 阅读全文
posted @ 2020-10-26 19:19 橙宝技术 阅读(553) 评论(0) 推荐(0) 编辑
摘要: ###1.pom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> <version>2.2.2.REL 阅读全文
posted @ 2020-10-26 15:54 橙宝技术 阅读(203) 评论(0) 推荐(0) 编辑
摘要: ###前提 准备3台虚拟机 192.168.174.144 192.168.174.145 192.168.174.146 按照下面方式把es给安装起来 https://www.cnblogs.com/hardy-wang/p/13858783.html 1.进入192.168.174.144机器配 阅读全文
posted @ 2020-10-23 18:12 橙宝技术 阅读(656) 评论(0) 推荐(0) 编辑
摘要: ##深度分页 深度分页其实就是搜索的深浅度,比如第1页,第2页,第10页,第20页,是比较浅的;第10000页,第20000页就是很深了。 使用如下操作: { "query": { "match_all": {} }, "from": 9999, "size": 10 } 我们在获取第9999条到1 阅读全文
posted @ 2020-10-23 17:19 橙宝技术 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/2044016/202010/2044016-20201023170918333-59542711.png) 阅读全文
posted @ 2020-10-23 17:10 橙宝技术 阅读(242) 评论(0) 推荐(0) 编辑
摘要: ###1. 在/plugins/ik/config下,创建: vim custom.dic ###2. 并且添加内容: 慕课网 骚年 ###3.配置自定义扩展词典 vim IKAnalyzer.cfg.xml 配置如下 <entry key="ext_dict">custom.dic</entry> 阅读全文
posted @ 2020-10-23 13:05 橙宝技术 阅读(959) 评论(0) 推荐(0) 编辑
摘要: ###1.去github下载zip包 具体地址:https://github.com/medcl/elasticsearch-analysis-ik 因为我本地装的是7.4.2版本,我ik分词器也下载这个版本 地址:https://github.com/medcl/elasticsearch-ana 阅读全文
posted @ 2020-10-23 12:47 橙宝技术 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 什么是分词? 把文本转换为一个个的单词,分词称之为analysis。es默认只对英文语句做分词,中文不支持,每个中文字都会被拆分为独立的个体。 英文分词:I study in imooc.com 中文分词:我在慕课网学习 POST /_analyze { "analyzer": "standard" 阅读全文
posted @ 2020-10-23 12:11 橙宝技术 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1.插入新数据 POST /my_doc/_doc { "id": 1010, "name": "imooc-1010", "desc": "imoocimooc!", "create_date": "2019-12-24" } 此时 _version 为 1 2.修改数据 POST /my_doc 阅读全文
posted @ 2020-10-23 11:55 橙宝技术 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 前提 npm自己下载安装 1.安装 git clone git://github.com/mobz/elasticsearch-head.git cd elasticsearch-head npm install npm run start open http://localhost:9100/ 2 阅读全文
posted @ 2020-10-22 17:21 橙宝技术 阅读(137) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页