Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8c8efca

Browse files
committed
client.md
1 parent 0a81576 commit 8c8efca

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎client.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Client
2+
3+
Java 客户端连接 Elasticsearch
4+
5+
一个是`TransportClient`,一个是`NodeClient`,还有一个`XPackTransportClient`
6+
7+
- TransportClient:
8+
作为一个外部访问者,请求ES的集群,对于集群而言,它是一个外部因素。
9+
10+
11+
- NodeClient
12+
13+
作为ES集群的一个节点,它是ES中的一环,其他的节点对它是感知的。
14+
15+
- XPackTransportClient:
16+
17+
服务安装了 `x-pack` 插件

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /