Update doris-on-es.md (#3441)
This commit is contained in:
@ -60,7 +60,7 @@ CREATE EXTERNAL TABLE `es_table` (
|
||||
PARTITION BY RANGE(`id`)
|
||||
()
|
||||
PROPERTIES (
|
||||
"host" = "http://192.168.0.1:8200,http://192.168.0.2:8200",
|
||||
"hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200",
|
||||
"user" = "root",
|
||||
"password" = "root",
|
||||
"index" = "tindex”,
|
||||
@ -72,7 +72,7 @@ PROPERTIES (
|
||||
|
||||
参数 | 说明
|
||||
---|---
|
||||
host | ES集群连接地址,可指定一个或多个,Doris通过这个地址获取到ES版本号、index的shard分布信息
|
||||
hosts | ES集群连接地址,可指定一个或多个,Doris通过这个地址获取到ES版本号、index的shard分布信息
|
||||
user | 开启basic认证的ES集群的用户名,需要确保该用户有访问: /\_cluster/state/\_nodes/http等路径权限和对index的读权限
|
||||
password | 对应用户的密码信息
|
||||
index | Doris中的表对应的ES的index名字,可以是alias
|
||||
|
||||
Reference in New Issue
Block a user