Skip to content

Commit a7658d5

Browse files
committed
update
1 parent ebf9b79 commit a7658d5

File tree

4 files changed

+42
-2
lines changed

4 files changed

+42
-2
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
![license](https://img.shields.io/badge/license-CC--BY--NC-%2321BAB5)
44

5+
## 注意❗
6+
7+
目前发现官方文档结构和内容发生了大调整,为此本站内容也将进行调整。
8+
9+
1. 当前已完成内容将放到**历史**目录下
10+
2. 翻译官方当前文档内容作为主要内容
11+
512
## 目录
613

714
- [翻译目标](#翻译目标及说明)

docs/intro.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,22 @@ slug: /
55

66
# Elasticsearch 翻译说明
77

8-
从官方版本 7.11 文档开始,当前版本为 8.13。由于官方版本更新比较快,文档虽然是基于 7.11 开始翻译,,实际翻译过程中,后续的文档都是翻译当前的最新版本。
9-
108
计划在全部翻译完成后,再基于完成时的最新版本,对有差异的老版本文档进行调整。
119

1210
目前翻译进度:[Read Me](https://github.com/dev2007/elasticsearch-doc#%E6%96%87%E6%A1%A3%E5%88%97%E8%A1%A8%E5%8F%8A%E8%BF%9B%E5%BA%A6)
1311

1412
- 2024.03.29 增加搜索功能
1513
- 2023.11.08 变更文档框架为 Docusaurus
1614

15+
## 注意❗
16+
17+
目前发现官方文档结构和内容发生了大调整,为此本站内容也将进行调整。
18+
19+
1. 当前已完成内容将放到**历史**目录下
20+
2. 翻译官方当前文档内容作为主要内容
21+
22+
从官方版本 7.11 文档开始,当前版本为 8.13。由于官方版本更新比较快,文档虽然是基于 7.11 开始翻译,,实际翻译过程中,后续的文档都是翻译当前的最新版本。
23+
1724
## 微信公众号
1825

1926
欢迎关注微信公众号:**程序员爱读书**
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# 集群分配解释 API
2+
3+
:::info 新 API 参考
4+
有关最新 API 的详细信息,参阅[集群 API](https://www.elastic.co/docs/api/doc/elasticsearch/v8/group/endpoint-cluster)
5+
:::
6+
7+
解释分区当前的分配情况。
8+
9+
```bash
10+
GET _cluster/allocation/explain
11+
{
12+
"index": "my-index-000001",
13+
"shard": 0,
14+
"primary": false,
15+
"current_node": "my-node"
16+
}
17+
```
18+
19+
## 请求
20+
21+
`GET _cluster/allocation/explain`
22+
23+
`POST _cluster/allocation/explain`
24+
25+
> [原文链接](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html)

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ const sidebars = {
156156
label: '集群 API',
157157
link: { type: 'doc', id: "rest_apis/cluster_apis/cluster_apis" },
158158
items: [
159+
"rest_apis/cluster_apis/cluster_allocation_explain"
159160
]
160161
},
161162
{

0 commit comments

Comments
 (0)