Reputation: 4466
They are not mentioned in ES glossary.
What is their relationship to other ES entities (shards / nodes / indexes) ?
Upvotes: 7
Views: 3220
Reputation: 31192
Indices are equivalent to databases in Relational DBMS. Just like Relational Database has schema, ES index has mapping.
Shards => index is broken into shards (in order to distribute them and scale)
Replicas => copies of the shards (provide reliability if a node is lost)
I hope the following diagram(taken from Rafal Kuc's slides) demonstrates the relationship between ES Cluster, Index, Node and Shards.
Also, there's a nice stackoverflow post Shards and replicas in Elasticsearch by @javanna
Upvotes: 3
Reputation: 1507
Indices is the plural of index. If you have more than one index you call them indices. http://www.thefreedictionary.com/index
Upvotes: 10