es学习之路
2016-11-28 19:51:46 18 举报
AI智能生成
es 学习之路
作者其他创作
大纲/内容
Elasticsearch的备份和恢复
文档索引及管理
通过与映射mapping配置索引
新增mapping
修改mapping
删除mapping
复合类型
管理索引文件
增加,删除,修改索引
信息的检索与结果过滤
基本检索
设置不同字段的排序权重,指定返回的字段集
Term查询、Terms查询、Wildcard通配符查询
Query_string查询
字符串语法查询,支持Lucene所有语法
Query_string查询
字符串语法查询,支持Lucene所有语法
Prefix、Range查询
Prefix 前缀查询
Range分区查询
More_like_this、Fuzzy_like_this查询
More_like_this 文本相似查询
Fuzzy_like_this同上 5.1之后已被删除
multi_match
跨字段检索
常用Filter及其应用
And Filter及Or Filter
被替换
Bool Filter
被替换
Not Filter
Exists Filter和Missing Filter
原因: es存储非结构化的数据,所以一个index里面可能包含各种结构的数据
Exists Filter 必须包含某个字段
Missing Filter 允许缺失某个字段
被替换
Type Filter
类型查询 2.0之后已被 Type Query替换
Match_all Filter
查询所有 2.0之后已被Match_all替换
Query Filter
复合查询
结果排序
信息统计分析与搜索提示
Facets概述
各种不同的Facets统计
Terms Facets: 指定字段的分布情况统计
Range Facets: 在某个范围的分布情况统计
Histogram Facets
Date_histogram Facets
Statistical Facets
Terms_stats Facets
Aggregations
最值、求和、均值统计
Stats Aggregations及Extended Stats Aggregations
Terms Aggregations 字段统计
Range Aggregations 区间统计
Date_range Aggregations 日期统计
Histogram Aggregations 跨步区间统计
Date_histogram Aggregations 时间跨步区间统计
Filter Aggregations 多条件统计
Missing Aggregations 缺失指定字段统计
ElasticSearch入门 —— 集群搭建
输出项
统计分析
新增索引
题目的所有扭转都会插入一条索引日志记录(com.bbk.service.impl.OperateLogIndexServiceImpl)
查询
代码文件目录(com.bbk.service.impl.LogAnalyzingServiceImpl)
入库索引
新增索引
解析二审入库的时候会新增索引( com.bbk.service.impl.ExplainServiceImpl.explainPass())
子主题
0 条评论
下一页