此处的Elasticsearch是5.4,但7.x的api与该版本基本相同,不同时只需进行相关的查阅即可。
从Lucene到Elasticsearch全文检索到实战
- 第 1 章 信息检索模型
- 1.1 信息检索概述
- 1.1.1 信息过载
- 1.1.2 信息检索定义
- 1.2.3 信息检索常用术语
- 1.2.4 信息检索系统
- 1.2 分词算法概述
- 1.2.1 分词算法概述
- 1.2.2 词典匹配分词算法
- 1.2.3 语义理解分词法
- 1.2.4 词频统计分词法
- 1.3 倒排索引
- 1.4 布尔检索模型
- 1.5 tf-idf 权重计算
- 1.6 向量空间模型
- 1.7 概率检索模型
- 1.7.1 贝叶斯决策理论
- 1.7.2 二值独立模型
- 1.7.3 Okapi BM25 模型
- 1.7.4 BMF 模型
- 1.1 信息检索概述
- 第 5 章 Elasticsearch 集群入门
- 5.1 索引管理
- 5.1.1 新建索引
- 5.1.2 更新副本
- 5.1.3 读写权限
- 5.1.4 查看索引
- 5.1.5 删除索引
- 5.1.6 索引的打开与关闭
- 5.1.7 复制索引
- 5.1.8 收缩索引
- 5.1.9 索引别名
- 5.2 文档管理
- 5.2.1 新建文档
- 5.2.2 获取文档
- 5.2.3 更新文档
- 5.2.4 查询更新
- 5.2.5 删除文档
- 5.2.6 查询删除
- 5.2.7 批量操作
- 5.2.8 版本控制
- 5.2.9 路由机制
- 5.3 映射详解
- 5.3.1 映射分类
- 5.3.2 动态映射
- 5.3.3 日期检测
- 5.3.4 静态映射
- 5.3.5 字段类型
- [1] string
- [2] text
- [3] keyword
- [4] 数字类型
- long
- integer
- short
- byte
- [5] date
- [6] boolean
- [7] binary
- [8] array
- [9] object
- [10] nested
- [11] geo_point
- [12] geo_shape
- [13] ip
- [14] range
- [15] token_count
- 5.3.6 元字段
- [1] _index
- [2] _type
- [3] _id
- [4] _uid
- [5] _source
- [6] _size
- [7] _all
- [8] _field_names
- [9] _parent
- [10] _routing
- 5.3.7 映射参数
- [1] analyzer
- [2] search_analyzer
- [3] normalizer
- [4] boost
- [5] coerce
- [6] copy_to
- [7] doc_value
- [8] dynamic
- [9] enabled
- [10] fielddata
- [11] format
- [12] ignore_above
- [13] ignore_malformed
- [14] include_in_all
- [15] index
- [16] index_options
- [17] fields
- [18] norms
- [19] null_value
- [20] position_increment_gap
- [21] properties
- [22] similarity
- [23] store
- [24] term_vector
- 5.3.8 映射模板
- 5.1 索引管理
- 第 6 章 Elasticsearch 搜索详解
- 6.1 搜索机制
- 6.2 全文查询
- 6.2.1 mach query
- 6.2.2 match_phrase query
- 6.2.3 match_phrase_prefix query
- 6.2.4 multi_match query
- 6.2.5 common_terms query
- 6.2.6 query_string query
- 6.2.7 simple_query_string
- 6.3 词项查询
- 6.3.1 term query
- 6.3.2 terms query
- 6.3.3 range query
- 6.3.4 exists query
- 6.3.5 prefix query
- 6.3.6 wild card query
- 6.3.7 regexp query
- 6.3.8 fuzzy query
- 6.3.9 type query
- 6.3.10 ids query
- 6.4 复合查询
- 6.4.1 constant_score query
- 6.4.2 bool query
- 6.4.3 dis_max query
- 6.4.4 function_score query
- 6.4.5 boosting query
- 6.4.6 indices query
- 6.5 嵌套查询
- 6.5.1 nested query
- 6.5.2 has_child query
- 6.5.3 has_parent query
- 6.6 位置查询
- 6.6.1 geo_distance query
- 6.6.2 geo_bounding_box query
- 6.6.3 geo_polygon
- 6.6.4 geo_shape query
- 6.7 特殊查询
- 6.7.1 more_like_this query
- 6.7.2 script query
- 6.7.3 percolate query
- 6.8搜索高亮
- 6.8.1 自定义高亮片段
- 6.8.2 多字段高亮
- 6.8.3 高亮性能分析
- 6.9 搜索排序
- 6.9.1 默认排序
- 6.9.2 多字段排序
- 6.9.3 分片影响评分
- 第 7 章 聚合分析
- 7.1 指标聚合
- 7.1.1 Max Aggregation
- 7.1.2 Min Aggregation
- 7.1.3 Avg Aggregation
- 7.1.4 Sum Aggregation
- 7.1.5 Cardinality Aggregation
- 7.1.6 Stats Aggregation
- 7.1.7 Extended Stats Aggregation
- 7.1.8 Percentiles Aggregation
- 7.1.9 Value Count Aggregation
- 7.2 桶聚合
- 7.2.1 Terms Aggregation
- 7.2.2 Filter Aggregation
- 7.2.3 Filters Aggregation
- 7.2.4 Range Aggregation
- 7.2.5 Date Range Aggregation
- 7.2.6 Date Histogram Aggregation
- 7.2.7 Missing Aggregation
- 7.2.8 Children Aggregation
- 7.2.9 Geo Distance Aggregation
- 7.2.10 IP Range Aggregation
- 7.1 指标聚合
- 第 9 章 集群管理
- 9.1 集群规划
- 9.2 索引规划
- 9.3 分布式集群
- 9.4 Cat API
- 9.4.1 cat aliases
- 9.4.2 cat allocation
- 9.4.3 cat count
- 9.4.4 cat fielddata
- 9.4.5 cat health
- 9.4.6 cat indices
- 9.4.7 cat master
- 9.4.8 cat nodeattrs
- 9.4.9 cat nodes
- 9.4.10 cat pending tasks
- 9.4.11 cat plugins
- 9.4.12 cat recovery
- 9.4.13 cat repositories
- 9.4.14 cat thread pool
- 9.4.15 cat shards
- 9.4.16 cat segments
- 9.4.17 cat templates
- 9.5 Cluster API
- 9.5.1 Cluster Health
- 9.5.2 Cluster State
- 9.5.3 Cluster Stats
- 9.5.4 Pending Cluster Tasks
- 9.5.5 Cluster Reroute
- 9.5.6 Cluster Update Settings
- 9.5.7 Nodes Stats
- 9.5.8 Nodes Info
- 9.5.9 Task Management API
- 9.5.10 Cluster Allocation Explain API
- 9.6 插件监控