This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0187b269b35 fix-doc (#40)
0187b269b35 is described below

commit 0187b269b359ab5692450ae55b672e6467722b00
Author: Liqf <109049295+lemonlit...@users.noreply.github.com>
AuthorDate: Sat Aug 13 20:44:48 2022 +0800

    fix-doc (#40)
---
 docs/admin-manual/cluster-management/upgrade.md                   | 8 ++++----
 docs/install/install-deploy.md                                    | 6 +++---
 .../sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md       | 2 +-
 .../sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md   | 2 +-
 .../current/admin-manual/cluster-management/upgrade.md            | 4 ++--
 .../sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md       | 2 +-
 .../sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md   | 2 +-
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/docs/admin-manual/cluster-management/upgrade.md 
b/docs/admin-manual/cluster-management/upgrade.md
index 34eaada8bba..450867bcca9 100644
--- a/docs/admin-manual/cluster-management/upgrade.md
+++ b/docs/admin-manual/cluster-management/upgrade.md
@@ -68,10 +68,10 @@ Doris can upgrade smoothly by rolling upgrades. The 
following steps are recommen
 1. Deploy a test FE process (It is recommended to use your own local 
development machine, or BE node. If it is on the Follower or Observer node, you 
need to stop the started process, but it is not recommended to test on the 
Follower or Observer node) using the new version alone.
 2. Modify the FE configuration file fe.conf for testing and set all ports to 
**different from online**.
 3. Add configuration in fe.conf: cluster_id=123456
-4. Add the configuration in fe.conf: metadatafailure_recovery=true
-5. Copy the metadata directory palo-meta of the online environment Master FE 
to the test environment
-6. Modify the cluster_id in the palo-meta/image/VERSION file copied into the 
test environment to 123456 (that is, the same as in Step 3)
-7. "27979;" "35797;" "3681616;" sh bin /start fe.sh "21551;" FE
+4. Add configuration in fe.conf: metadata_failure_recovery=true
+5. Copy the metadata directory doris-meta of the online environment master Fe 
to the test environment
+6.The cluster_ID where copy to the doris-meta/image/VERSION file in the test 
environment is modified to 123456 (that is, the same as in Step 3)
+7. In the test environment,running sh sh bin/start_fe.sh,start FE.
 8. Observe whether the start-up is successful through FE log fe.log.
 9. If the startup is successful, run sh bin/stop_fe.sh to stop the FE process 
of the test environment.
 10. **The purpose of the above 2-6 steps is to prevent the FE of the test 
environment from being misconnected to the online environment after it starts.**
diff --git a/docs/install/install-deploy.md b/docs/install/install-deploy.md
index fa6bf2dad9a..73b4b553f8d 100644
--- a/docs/install/install-deploy.md
+++ b/docs/install/install-deploy.md
@@ -77,14 +77,14 @@ Here we recommend using the ext4 file system. When 
installing the operating syst
 | Module | CPU | Memory | Disk | Network | Instance Number|
 |---|---|---|---|---|---|
 | Frontend | 8 core + | 8GB + | SSD or SATA, 10GB + * | Gigabit Network Card | 
1|
-| Backend | 8-core + | 16GB + | SSD or SATA, 50GB + * | Gigabit Network Card | 
1-3*|
+| Backend | 8 core + | 16GB + | SSD or SATA, 50GB + * | Gigabit Network Card | 
1-3*|
 
 #### Production environment
 
 | Module | CPU | Memory | Disk | Network | Number of Instances (Minimum 
Requirements)|
 |---|---|---|---|---|---|
 | Frontend | 16 core + | 64GB + | SSD or RAID card, 100GB + * | 10,000 Mbp 
network card | 1-5*|
-| Backend | 16 core + | 64GB + | SSD or SATA, 100G + * | 10-100 Mbp network 
card*|
+| Backend | 16 core + | 64GB + | SSD or SATA, 100G + * | 10-100 Mbp network 
card | 10-100 * |
 
 > Note 1:
 > 
@@ -158,7 +158,7 @@ BROKER does not currently have, nor does it need, 
priority\_networks. Broker's s
 
 By default, doris is case-sensitive. If there is a need for case-insensitive 
table names, you need to set it before cluster initialization. The table name 
case sensitivity cannot be changed after cluster initialization is completed.
 
-See the section on `lower_case_table_names` variables in 
[Variables](../advanced/variables.html#variable-setting-and-viewing) for 
details.
+See the section on `lower_case_table_names` variables in 
[Variables](../advanced/variables.md) for details.
 
 ## Cluster deployment
 
diff --git 
a/docs/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md 
b/docs/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
index 21d7cb25f82..b0a0a14d89e 100644
--- a/docs/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
+++ b/docs/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
@@ -17,7 +17,7 @@ Unless required by applicable law or agreed to in writing, 
software distributed
 Count the number of occurrences of data in the window
 
 ```sql
-COUNT([DISTINCT | ALL] expression) [OVER (analytic_clause)]
+COUNT(expression) [OVER (analytic_clause)]
 ```
 
 ### example
diff --git 
a/docs/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md 
b/docs/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
index f491b1004fe..ae4088f7301 100644
--- 
a/docs/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
+++ 
b/docs/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
@@ -44,7 +44,7 @@ DROP INDEX [IF EXISTS] index_name ON [db_name.]table_name;
 1. Delete the index
 
     ```sql
-    CREATE INDEX [IF NOT EXISTS] index_name ON table1 ;
+    DROP INDEX [IF NOT EXISTS] index_name ON table1 ;
     ````
 
 ### Keywords
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
index 376bf5ece2b..6dbfe7d5a61 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
@@ -68,11 +68,11 @@ Doris 可以通过滚动升级的方式,平滑进行升级。建议按照以
 1. 单独使用新版本部署一个测试用的 FE 
进程(建议在自己本地的开发机,或者BE节点。如果在Follower或者Observer节点上,需要停止启动的进程,但是不建议在Follower或者Observer节点上测试)。
 2. 修改测试用的 FE 的配置文件 fe.conf,将所有端口设置为**与线上不同**。
 3. 在 fe.conf 添加配置:cluster_id=123456
-4. 在 fe.conf 添加配置:metadata\_failure_recovery=true
+4. 在 fe.conf 添加配置:metadata_failure_recovery=true
 5. 拷贝线上环境 Master FE 的元数据目录 doris-meta 到测试环境
 6. 将拷贝到测试环境中的 doris-meta/image/VERSION 文件中的 cluster_id 修改为 123456(即与第3步中相同)
 7. 在测试环境中,运行 sh bin/start_fe.sh 启动 FE
-8. 通过 FE 日志 fe.log 观察是否启动成功。
+8. 通过 FE 日志 fe.log 观察是否启动成功。 
 9. 如果启动成功,运行 sh bin/stop_fe.sh 停止测试环境的 FE 进程。
 10. **以上 2-6 步的目的是防止测试环境的FE启动后,错误连接到线上环境中。**
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
index e09e6191307..c974508c85e 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/window-functions/WINDOW-FUNCTION-COUNT.md
@@ -17,7 +17,7 @@ Unless required by applicable law or agreed to in writing, 
software distributed
 计算窗口内数据出现次数
 
 ```sql
-COUNT([DISTINCT | ALL] expression) [OVER (analytic_clause)]
+COUNT(expression) [OVER (analytic_clause)]
 ```
 
 ### example
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
index 8521778467d..098a30184f9 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Drop/DROP-INDEX.md
@@ -44,7 +44,7 @@ DROP INDEX [IF EXISTS] index_name ON [db_name.]table_name;
 1. 删除索引
 
    ```sql
-   CREATE INDEX [IF NOT EXISTS] index_name ON table1 ;
+   DROP INDEX [IF NOT EXISTS] index_name ON table1 ;
    ```
 
 ### Keywords


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to