diff --git a/docs/en/extending-doris/doris-on-es.md b/docs/en/extending-doris/doris-on-es.md index 9be1bedb67..a653986c35 100644 --- a/docs/en/extending-doris/doris-on-es.md +++ b/docs/en/extending-doris/doris-on-es.md @@ -340,7 +340,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", "password" = "root", @@ -369,7 +369,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", "password" = "root", diff --git a/docs/zh-CN/extending-doris/doris-on-es.md b/docs/zh-CN/extending-doris/doris-on-es.md index cc9895e3e1..7840b6be27 100644 --- a/docs/zh-CN/extending-doris/doris-on-es.md +++ b/docs/zh-CN/extending-doris/doris-on-es.md @@ -115,7 +115,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH // ENGINE必须是Elasticsearch PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", @@ -184,7 +184,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", "password" = "root", @@ -225,7 +225,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", "password" = "root", @@ -337,7 +337,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", "password" = "root", @@ -366,7 +366,7 @@ CREATE EXTERNAL TABLE `test` ( ) ENGINE=ELASTICSEARCH PROPERTIES ( "hosts" = "http://192.168.0.1:8200,http://192.168.0.2:8200", -"index" = "test”, +"index" = "test", "type" = "doc", "user" = "root", "password" = "root",