摘要: Redis专题地址:https://www.cnblogs.com/hello-shf/category/1615909.html SpringBoot读源码系列:https://www.cnblogs.com/hello-shf/category/1456313.html Elasticsearc 阅读全文
posted @ 2019-12-23 10:51 超级小小黑 阅读(2293) 评论(0) 推荐(3) 编辑
摘要: Redis专题地址:https://www.cnblogs.com/hello-shf/category/1615909.html SpringBoot读源码系列:https://www.cnblogs.com/hello-shf/category/1456313.html Elasticsearc 阅读全文
posted @ 2019-12-20 11:49 超级小小黑 阅读(1212) 评论(0) 推荐(3) 编辑
摘要: Redis专题地址:https://www.cnblogs.com/hello-shf/category/1615909.html SpringBoot读源码系列:https://www.cnblogs.com/hello-shf/category/1456313.html Elasticsearc 阅读全文
posted @ 2019-12-19 11:23 超级小小黑 阅读(696) 评论(0) 推荐(0) 编辑
摘要: elasticsearch专栏:https://www.cnblogs.com/hello-shf/category/1550315.html 一、深度分页方式from + size es 默认采用的分页方式是 from+ size 的形式,在深度分页的情况下,这种使用方式效率是非常低的,比如我们执 阅读全文
posted @ 2019-09-28 09:32 超级小小黑 阅读(16952) 评论(8) 推荐(8) 编辑
摘要: elasticsearch专栏:https://www.cnblogs.com/hello-shf/category/1550315.html 一、倒排索引(Inverted Index)简介 在关系数据库系统里,索引是检索数据最有效率的方式。但对于搜索引擎,它并不能满足其特殊要求,比如海量数据下比 阅读全文
posted @ 2019-09-27 09:27 超级小小黑 阅读(4160) 评论(0) 推荐(3) 编辑
摘要: elasticsearch专栏:https://www.cnblogs.com/hello-shf/category/1550315.html 一、预备知识 在对document的curd进行深度分析之前,我们不得不了解以下几个小的知识点,不了解一下几个知识点我们将很难理解document是如何进行 阅读全文
posted @ 2019-09-26 10:18 超级小小黑 阅读(1772) 评论(0) 推荐(1) 编辑
摘要: elasticsearch专栏:https://www.cnblogs.com/hello-shf/category/1550315.html 一、集群健康 Elasticsearch 的集群监控信息中包含了许多的统计数据,其中最为重要的一项就是集群健康,它在 status 字段中展示为 green 阅读全文
posted @ 2019-09-25 09:43 超级小小黑 阅读(12339) 评论(4) 推荐(4) 编辑
摘要: elasticsearch专栏:https://www.cnblogs.com/hello-shf/category/1550315.html 一、elasticsearch背后有趣的故事 许多年前,一个刚结婚的名叫 Shay Banon 的失业开发者,跟着他的妻子去了伦敦,他的妻子在那里学习厨师。 阅读全文
posted @ 2019-09-24 17:44 超级小小黑 阅读(1269) 评论(0) 推荐(1) 编辑
摘要: elasticsearch专栏:https://www.cnblogs.com/hello-shf/category/1550315.html 一、预备知识 1.1、索引不可变 看到这篇文章相信大家都知道es是倒排索引,不了解也没关系,在我的另一篇博文中详细分析了es的倒排索引机制。在es的索引过程 阅读全文
posted @ 2019-09-24 09:39 超级小小黑 阅读(4134) 评论(1) 推荐(1) 编辑
摘要: 一、简介 前文介绍了《最大堆》的实现,本章节在最大堆的基础上实现一个简单的优先队列。优先队列的实现本身没什么难度,所以本文我们从优先队列的场景出发介绍topK问题。 后面会持续更新数据结构相关的博文。 数据结构专栏:https://www.cnblogs.com/hello-shf/category 阅读全文
posted @ 2019-09-05 12:00 超级小小黑 阅读(1832) 评论(2) 推荐(0) 编辑