ES
1 什么时候应该用ElasticSearch?
1.1 场景
1.2 版本
2 部署
2.1 部署方式
2.1.1 docker 部署
2.2.1 物理部署
2.2 部署时常见错误
2.2.1 ES 系列:解决 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
2.2.2 ES 系列:解决 the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
3 名词说明
3.1 关于 Index、Type、Document
3.2 正/倒排索引
3.2.1 倒排索引的组成
3.3 分词
3.3.1 分词器
3.3.2 Analyze API
3.3.3 预定义的分词器
3.3.4 中文分词
3.3.5 分词使用说明
3.4 Mapping
3.4.1 mapping 核心数据类型
3.4.2 dynamic mapping 对字段的类型分配
3.4.3 查看索引 mapping
3.4.4 定制 mapping
3.4.5 mapping 中的子字段
4 使用 curl 命令操作与 ES 交互
4.1 查看信息
4.2 查看所有的 Index
4.3 创建 Index
4.4 删除 Index
4.5 新增记录
4.6 查询记录
4.7 更新记录
4.8 删除记录
5 Elasticsearch as Database
5.1 SQL
5.1.1 添加测试记录
5.1.2 查询下前 5 条记录
5.1.3 将 SQL 转化为 DSL
5.1.4 常用SQL操作
5.1.5 全文搜索函数
5.2 表结构定义
6 elasticsearch-py
6.1 例子
7 kibana
Last updated