Docs/ELK/es学习记录07-读相关.md
2022-10-18 16:59:37 +08:00

8 lines
No EOL
384 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 检索文档
```
1、客户端向 任意节点node 发送获取请求。
2、该节点使用文档的 _id 来确定文档属于哪个分片 。使用随机轮询算法,在所有包含该分片(主副分片)的节点上,随机选择一个,响应请求
3、响应请求的节点将结果返回给 请求的节点,请求的节点将文档返回给客户端。
```