Skip to content

Commit 11bf00e

Browse files
authored
elasticsearch answer updates (bregman-arie#354)
1 parent 9e9a6a3 commit 11bf00e

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,7 @@ The Elastic Stack consists of:
20442044
* Elastic Hadoop
20452045
* APM Server
20462046

2047-
Elasticserach, Logstash and Kibana are also known as the ELK stack.
2047+
Elasticsearch, Logstash and Kibana are also known as the ELK stack.
20482048
</b></details>
20492049

20502050
<details>
@@ -2112,17 +2112,22 @@ While there can be multiple master nodes in reality only of them is the elected
21122112
<details>
21132113
<summary>What is an ingest node?</summary><br><b>
21142114

2115-
A node which responsible for parsing the data. In case you don't use logstash then this node can recieve data from beats and parse it, similarly to how it can be parsed in Logstash.
2115+
A node which responsible for processing the data according to ingest pipeline. In case you don't need to use
2116+
logstash then this node can recieve data from beats and process it, similarly to how it can be processed
2117+
in Logstash.
21162118
</b></details>
21172119

21182120
<details>
2119-
<summary>What is Coordinating node?</summary><br><b>
2121+
<summary>What is Coordinating only node?</summary><br><b>
2122+
2123+
From the official docs:
2124+
2125+
Coordinating only nodes can benefit large clusters by offloading the coordinating node role from data and master-eligible nodes. They join the cluster and receive the full cluster state, like every other node, and they use the cluster state to route requests directly to the appropriate place(s).
21202126

2121-
A Coordinating node responsible for routing requests out and in to the cluser (data nodes).
21222127
</b></details>
21232128

21242129
<details>
2125-
<summary>How data is stored in elasticsearch?</summary><br><b>
2130+
<summary>How data is stored in Elasticsearch?</summary><br><b>
21262131

21272132
* Data is stored in an index
21282133
* The index is spread across the cluster using shards
@@ -2131,7 +2136,7 @@ A Coordinating node responsible for routing requests out and in to the cluser (d
21312136
<details>
21322137
<summary>What is an Index?</summary><br><b>
21332138

2134-
Index in Elastic is in most cases compared to a whole database from the SQL/NoSQL world.<br>
2139+
Index in Elasticsearch is in most cases compared to a whole database from the SQL/NoSQL world.<br>
21352140
You can choose to have one index to hold all the data of your app or have multiple indices where each index holds different type of your app (e.g. index for each service your app is running).
21362141

21372142
The official docs also offer a great explanation (in general, it's really good documentation, as every project should have):
@@ -2157,15 +2162,17 @@ From the official docs:
21572162
<details>
21582163
<summary>What is a Document?</summary><br><b>
21592164

2160-
Continuing with the comparison to SQL/NoSQL a Document in Elastic is a row in table in the case of SQL or a document in a collection in the case of NoSQL.
2161-
As in NoSQL a Document is a JSON object which holds data on a unit in your app. What is this unit depends on the your app. If your app related to book then each document describes a book. If you are app is about shirts then each document is a shirt.
2165+
Continuing with the comparison to SQL/NoSQL a Document in Elasticsearch is a row in table in the case of SQL or a document in a collection in the case of NoSQL.
2166+
As in NoSQL a document is a JSON object which holds data on a unit in your app. What is this unit depends on the your app. If your app related to book then each document describes a book. If you are app is about shirts then each document is a shirt.
21622167
</b></details>
21632168

21642169
<details>
21652170
<summary>You check the health of your elasticsearch cluster and it's red. What does it mean? What can cause the status to be yellow instead of green?</summary><br><b>
21662171

2167-
Red means some data is unavailable.
2168-
Yellow can be caused by running single node cluster instead of multi-node.
2172+
Red means some data is unavailable in your cluster. Some shards of your indices are unassinged.
2173+
There are some other states for the cluster.
2174+
Yellow means that you have unassigned shards in the cluster. You can be in this state if you have single node and your indices have replicas.
2175+
Green means that all shards in the cluster are assigned to nodes and your cluster is healthy.
21692176
</b></details>
21702177

21712178
<details>

0 commit comments

Comments
 (0)