elasticsearch
文章平均质量分 80
yan_baby_liu
这个作者很懒,什么都没留下…
展开
-
3.ES-如何删除字段
文章目录 原索引mappings如下,有full_name和short_name两个字段 { "audit_demo": { "mappings": { "_doc": { "properties": { "full_name": { "type": "text", "analyzer": "i转载 2022-05-22 14:47:38 · 880 阅读 · 0 评论 -
2.ES-聚合查询
文章目录数据准备分组统计分组嵌套histogramdate_histogram搜索后再聚合同时实现基于搜索结果聚合,基于总体数据聚合过滤+聚合在聚合桶中再filter修改聚合默认排序多次下钻后再聚合在聚合桶中显示文档列表去重 cartinalitytop_hits的简单使用获取最早进 最晚出的数据 参照视频:https://www.bilibili.com/video/BV1334y1v7Lf?p=27 数据准备 PUT /tvs { "mappings": { "properties": {翻译 2022-05-19 15:51:14 · 1051 阅读 · 0 评论 -
1.ES--基本操作
待研究: https文章目录数据准备1 . 查询映射2.默认分词3.搜索没有隐藏的帖子4.根据发帖日期搜索帖子5.查看分词6. 重建索引7.bool查询terms 搜索range查询全文检索 match搜索权重基于dis_max实现多字段搜索tie_breaker基于multi_match语法实现dis_max+tie_breaker基于multi_match+most fiels策略进行multi-field搜索cross_fieldcopy to短语匹配 近似匹配phrase match 短语匹配mat转载 2022-05-19 14:20:52 · 884 阅读 · 1 评论 -
ElasticSearch IK分词器基于mysql实现热更新词库
文章目录安装的是elasticsearch7.1.1打包jdk 环境配置测试常见问题解决 文档转载自: 采坑解决方案https://blog.csdn.net/hqd1870299/article/details/106660017/ ik源码修改参考:https://blog.csdn.net/Sterry_Gong/article/details/112347256 安装的是elasticsearch7.1.1 从https://github.com/medcl/elasticsearch-analys转载 2022-05-10 16:57:51 · 1012 阅读 · 0 评论