This is an automated email from the ASF dual-hosted git repository.
morningman 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 02967d72197 [fix](doc) fix typo in zh prefix-index sort-key advice (约
→ 越) (#3727)
02967d72197 is described below
commit 02967d72197e5c36670f9894950d3b60f4dbfb22
Author: boluor <[email protected]>
AuthorDate: Thu May 21 22:36:31 2026 -0700
[fix](doc) fix typo in zh prefix-index sort-key advice (约 → 越) (#3727)
## Summary
The Chinese prefix-index page (`table-design/index/prefix-index`) gives
advice on ordering Key columns by query frequency. The second bullet
reads:
> 2. 约常用的字段越放在前面,因为前缀索引只对 WHERE 条件中字段在 Key 的前缀中才有效。
The leading `约` is a typo for `越` — the sentence uses the `越……越……` ("the
more … the more …") construction, so it should read:
> 2. 越常用的字段越放在前面,因为前缀索引只对 WHERE 条件中字段在 Key 的前缀中才有效。
Reported in #3724.
## Scope
The typo is present in the zh-CN **2.1** and **3.x** docs. The 4.x /
current Chinese page was rewritten and no longer contains this sentence,
so no change is needed there.
## Test plan
- [x] Confirmed the live 3.x and 2.1 zh pages still show `约常用的字段越放在前面`,
while the latest (4.x) page no longer has the sentence.
- [x] Dead-link check passes on the changed files.
- [ ] CI build.
Closes #3724
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
---
.../version-2.1/table-design/index/prefix-index.md | 2 +-
.../version-3.x/table-design/index/prefix-index.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/prefix-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/prefix-index.md
index 39beabc4a16..12430c29c3a 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/prefix-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/prefix-index.md
@@ -34,7 +34,7 @@ Doris 的数据存储在类似 SSTable(Sorted String Table)的数据结构
因为一个表的 Key 定义是唯一的,所以一个表只有一组前缀索引,因此设计表结构时选择合适的前缀索引很重要,可以参考下面的建议:
1. 选择查询中最常用于 WHERE 过滤条件的字段作为 Key。
-2. 约常用的字段越放在前面,因为前缀索引只对 WHERE 条件中字段在 Key 的前缀中才有效。
+2. 越常用的字段越放在前面,因为前缀索引只对 WHERE 条件中字段在 Key 的前缀中才有效。
使用其他不能命中前缀索引的列作为条件进行的查询来说,效率上可能无法满足需求,有两种解决方案:
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/index/prefix-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/index/prefix-index.md
index 39beabc4a16..12430c29c3a 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/index/prefix-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/table-design/index/prefix-index.md
@@ -34,7 +34,7 @@ Doris 的数据存储在类似 SSTable(Sorted String Table)的数据结构
因为一个表的 Key 定义是唯一的,所以一个表只有一组前缀索引,因此设计表结构时选择合适的前缀索引很重要,可以参考下面的建议:
1. 选择查询中最常用于 WHERE 过滤条件的字段作为 Key。
-2. 约常用的字段越放在前面,因为前缀索引只对 WHERE 条件中字段在 Key 的前缀中才有效。
+2. 越常用的字段越放在前面,因为前缀索引只对 WHERE 条件中字段在 Key 的前缀中才有效。
使用其他不能命中前缀索引的列作为条件进行的查询来说,效率上可能无法满足需求,有两种解决方案:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]