1 Star 0 Fork 303

脏小强/elasticsearch-definitive-guide-cn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
10_Intro.asciidoc 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
Looly 提交于 2014-09-22 14:58 +08:00 . First commit, finished 1.1 and 1.2

Inside a shard

In [distributed-cluster], we introduced the shard, and described it as a low-level ``worker unit''. But what exactly is a shard and how does it work? In this chapter we will answer these questions:

  • Why is search near real-time?

  • Why are document CRUD (create-read-update-delete) operations real-time?

  • How does Elasticsearch ensure that the changes you make are durable, that they won’t be lost if there is a power failure?

  • Why does deleting documents not free up space immediately?

  • What do the refresh, flush, and optimize APIs do, and when should you use them?

The easiest way to understand how a shard functions today is to start with a history lesson. We will look at the problems that needed to be solved in order to provide a distributed durable datastore with near real-time search and analytics.

Content warning

The information presented below is for your interest. You are not required to understand and remember all the detail in order to use Elasticsearch. Read the section to gain a taste for how things work, and to know where the information is in case you need to refer to it in the future, but don’t be overwhelmed by the detail.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/icodes/elasticsearch-definitive-guide-cn.git
git@gitee.com:icodes/elasticsearch-definitive-guide-cn.git
icodes
elasticsearch-definitive-guide-cn
elasticsearch-definitive-guide-cn
master

搜索帮助