更新 Elasticsearch.md
This commit is contained in:
parent
7aadb56181
commit
b68536b75f
@ -533,31 +533,31 @@ Password for the [elastic] user successfully reset.
|
|||||||
|
|
||||||
https://192.168.159.131:9200
|
https://192.168.159.131:9200
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### 14. 插件访问
|
### 14. 插件访问
|
||||||
|
|
||||||
Multi Elasticsearch Heads
|
Multi Elasticsearch Heads
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Elasticsearch Tools
|
Elasticsearch Tools
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Elasticvue
|
Elasticvue
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 四:基本概念
|
## 四:基本概念
|
||||||
|
|
||||||
@ -633,7 +633,7 @@ PUT /my_index
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
这个例子中,PUT /my_index是创建名为my_index的索引的请求。在请求体中,settings部分指出这个索引将被分成3个主分片,并且每个主分片将会有2个副本分片。这意味着,总共会有9个分片(3个主分片 + 6个副本分片)被分布在集群中。
|
这个例子中,PUT /my_index是创建名为my_index的索引的请求。在请求体中,settings部分指出这个索引将被分成3个主分片,并且每个主分片将会有2个副本分片。这意味着,总共会有9个分片(3个主分片 + 6个副本分片)被分布在集群中。
|
||||||
|
|
||||||
@ -1041,7 +1041,7 @@ Password for the [elastic] user successfully reset.
|
|||||||
GET /_cat/nodes
|
GET /_cat/nodes
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### 7. 应用案例
|
### 7. 应用案例
|
||||||
|
|
||||||
@ -1057,7 +1057,7 @@ PUT kibana_sample_data_logs_ext
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
准备索引数据,首先你得先确保您索引有:wxin
|
准备索引数据,首先你得先确保您索引有:wxin
|
||||||
|
|
||||||
@ -1073,11 +1073,11 @@ POST _reindex
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
这是现在的分片情况
|
这是现在的分片情况
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
设置索引分片信息,主要参数:index.routing.allocation.include._tier_preference
|
设置索引分片信息,主要参数:index.routing.allocation.include._tier_preference
|
||||||
|
|
||||||
@ -1094,8 +1094,8 @@ PUT kibana_sample_data_logs_ext/_settings
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
在查询就能看到分片都在hot节点上了
|
在查询就能看到分片都在hot节点上了
|
||||||
|
|
||||||

|

|
||||||
|
Loading…
x
Reference in New Issue
Block a user