Intro to elastic search

2017-07-19  本文已影响0人  方方块

Concepts

Cluster
Database

Types & Indices
types is the key, index is the object

eg. index twitter with two types user and tweet
or multiindex user as index with two types info and tweet

subdivide index into pieces called shards

replicas - replications of shards
since failure is expected in network enviornment, failover mechanism to allow one to make copies of shards

complete replica (all shards are copied)

primary shards - original shards
by default one index 5 primary shards and 1 complete replica

Scaling
limit shards replicas, more index objects

上一篇 下一篇

猜你喜欢

热点阅读