Elasticsearch Introduction to Learning 2

Source: Internet
Author: User

A few concepts about Elasticsearch:

1) in Elasticsearch, the document belongs to the type, and the type is indexed to index, which can be likened to the traditional relational database for ease of understanding:

Columns, Tables, DataBases, relational DB

Elasticsearch, Indices, Types,

In a elasticsearch cluster, you can include multiple index indices, each of which can contain multiple type types, each of which can contain multiple document documents, and each Document object contains multiple fields (field).

2) Shards, clusters, nodes, replication.

* Partition your documents into different containers or shards (shards), which can exist in one or more nodes.

* Distribute the shards evenly to each node, and load balance the index and search.

* Redundancy of each shard to prevent data loss due to hardware failure.

* Route requests from any node in the cluster to the node where the corresponding data resides

* Whether you are adding nodes or removing nodes, shards can be seamlessly scaled and migrated.

A node is equivalent to one of your elasticsearch instances, and the cluster (cluster) consists of one or more nodes that have the same cluster.name that work together to share data and load.

Elasticsearch Introduction to Learning 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.