You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/01/18 14:34:07 UTC

(doris-website) branch master updated: [doc](text-search) Improve type_table parameter description in custom-analyzer docs (#3273)

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

yiguolei 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 69bb5876052 [doc](text-search) Improve type_table parameter description in custom-analyzer docs (#3273)
69bb5876052 is described below

commit 69bb5876052f4106b282150a58739cb93f977bb4
Author: zzzxl <ya...@selectdb.com>
AuthorDate: Sun Jan 18 22:34:02 2026 +0800

    [doc](text-search) Improve type_table parameter description in custom-analyzer docs (#3273)
    
    ## Versions
    
    - [ ] dev
    - [ ] 4.x
    - [ ] 3.x
    - [ ] 2.1
    
    ## Languages
    
    - [ ] Chinese
    - [ ] English
    
    ## Docs Checklist
    
    - [ ] Checked by AI
    - [ ] Test Cases Built
---
 .../current/ai/text-search/custom-analyzer.md                     | 8 +++++++-
 .../version-4.x/ai/text-search/custom-analyzer.md                 | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/ai/text-search/custom-analyzer.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/ai/text-search/custom-analyzer.md
index a693648cdf9..b65287c8019 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/ai/text-search/custom-analyzer.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/ai/text-search/custom-analyzer.md
@@ -84,7 +84,13 @@ PROPERTIES (
     - `split_on_case_change`(默认 true)
     - `split_on_numerics`(默认 true)
     - `stem_english_possessive`(默认 true)
-    - `type_table`:自定义字符类型映射(如 `[+ => ALPHA, - => ALPHA]`),类型含 `ALPHA`、`ALPHANUM`、`DIGIT`、`LOWER`、`SUBWORD_DELIM`、`UPPER`
+    - `type_table`:自定义字符类型映射表,可将非字母数字字符映射为指定类型以避免被切分。示例:`["+ => ALPHA", "- => ALPHA"]`。支持映射类型:
+      - `ALPHA`(字母)
+      - `ALPHANUM`(字母数字)
+      - `DIGIT`(数字)
+      - `LOWER`(小写字母)
+      - `SUBWORD_DELIM`(非字母数字分隔符)
+      - `UPPER`(大写字母)
 - `ascii_folding`:将非 ASCII 字符映射为等效 ASCII
 - `lowercase`:将 token 文本转为小写
 - `icu_normalizer`:使用 ICU 标准化对词元进行处理。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/ai/text-search/custom-analyzer.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/ai/text-search/custom-analyzer.md
index 53d550736e0..5285ddb3056 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/ai/text-search/custom-analyzer.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/ai/text-search/custom-analyzer.md
@@ -95,7 +95,13 @@ PROPERTIES (
     - `split_on_case_change`(默认 true)
     - `split_on_numerics`(默认 true)
     - `stem_english_possessive`(默认 true)
-    - `type_table`:自定义字符类型映射(如 `[+ => ALPHA, - => ALPHA]`),类型含 `ALPHA`、`ALPHANUM`、`DIGIT`、`LOWER`、`SUBWORD_DELIM`、`UPPER`
+    - `type_table`:自定义字符类型映射表,可将非字母数字字符映射为指定类型以避免被切分。示例:`["+ => ALPHA", "- => ALPHA"]`。支持映射类型:
+      - `ALPHA`(字母)
+      - `ALPHANUM`(字母数字)
+      - `DIGIT`(数字)
+      - `LOWER`(小写字母)
+      - `SUBWORD_DELIM`(非字母数字分隔符)
+      - `UPPER`(大写字母)
 - `ascii_folding`:将非 ASCII 字符映射为等效 ASCII
 - `lowercase`:将 token 文本转为小写
 - `pinyin`:在分词后将中文字符转换为拼音的过滤器。参数详情请参考上文的 **pinyin** 分词器。


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