美文网首页
Elasticsearch笔记

Elasticsearch笔记

作者: 开水的杯子 | 来源:发表于2017-02-28 15:33 被阅读13次

原书:Elasticsearch: the Definitive Guide source

https://github.com/elastic/elasticsearch

It's a distributed search engine built on Lucene, with a Java API and a JSON REST API. It's an indexed document-oriented database. You can do reasonably sophisticated searches with a query DSL.

Life inside a Cluster 原文

每一个cluster有一个master node,用来管理加减node和产生或是删除index。用户可以跟任意一个node沟通,所有的node都知道每一个文件住在哪儿并且能够将用户的请求转发到正确的node要到该要的回复。

An index is just a logical namespace that points to one or more physical shards.

A shard is a low-level worker unit that holds just a slice of all the data in the index--a single instance of Lucene.

Documents are stored in shards, and shards are allocated to nodes in your cluster, auto-balanced by Elasticsearch.

相关文章

网友评论

      本文标题:Elasticsearch笔记

      本文链接:https://www.haomeiwen.com/subject/jcixgttx.html