摘要: 【1】倒排索引 【1.1】倒排索引与正牌索引的对比 【1.2】倒排索引的核心组成 例子: 【1.3】ES的倒排索引 优劣 ES的 JSON 文档中的每个字段,都有自己的倒排索引 可以指定对某些字段不做索引 优点:节省存储空间 缺点:字段无法被搜索 【2】分词器 【2.1】分词器的组成 【2.2】ES 阅读全文
posted @ 2021-04-15 17:12 郭大侠1 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 【1】参考文档 直接看:ElasticSearch 7.8.1 从入门到精通 ES:阮一鸣教程笔记参考:https://www.cnblogs.com/qiu-hua/category/1907014.html es match、match_phrase、query_string和term的区别,其 阅读全文
posted @ 2021-04-15 17:06 郭大侠1 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2021-04-15 16:41 郭大侠1 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 【1】如何正确的关闭ES集群 第一步,禁止分片自动分布 PUT _cluster/settings { "persistent": { "cluster.routing.allocation.enable": "none" } } 第二步,执行同步刷新 POST _flush/synced 第三步, 阅读全文
posted @ 2021-04-15 16:23 郭大侠1 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2021-04-15 16:20 郭大侠1 阅读(43) 评论(0) 推荐(0) 编辑