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 a0c207750bf [doc] (inverted index) add inverted index property:
stopwords (#1249)
a0c207750bf is described below
commit a0c207750bff117759cfcd4f87cc5310c3468974
Author: Sun Chenyang <[email protected]>
AuthorDate: Mon Nov 4 20:53:56 2024 +0800
[doc] (inverted index) add inverted index property: stopwords (#1249)
# Versions
- [x] dev
- [x] 3.0
- [x] 2.1
- [x] 2.0
# Languages
- [x] Chinese
- [x] English
---
docs/table-design/index/inverted-index.md | 8 ++++++++
.../current/table-design/index/inverted-index.md | 8 ++++++++
.../version-2.0/table-design/index/inverted-index.md | 8 ++++++++
.../version-2.1/table-design/index/inverted-index.md | 8 ++++++++
.../version-3.0/table-design/index/inverted-index.md | 8 ++++++++
versioned_docs/version-2.0/table-design/index/inverted-index.md | 8 ++++++++
versioned_docs/version-2.1/table-design/index/inverted-index.md | 8 ++++++++
versioned_docs/version-3.0/table-design/index/inverted-index.md | 8 ++++++++
8 files changed, 64 insertions(+)
diff --git a/docs/table-design/index/inverted-index.md
b/docs/table-design/index/inverted-index.md
index e7f37511857..25e63fe8b65 100644
--- a/docs/table-design/index/inverted-index.md
+++ b/docs/table-design/index/inverted-index.md
@@ -187,6 +187,14 @@ Syntax explanation:
<p>- From versions 2.0.7 and 2.1.2, the default is true, automatically
converting to lowercase. Earlier versions default to false.</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **Specifying the stopword list to use, which will affect the behavior of the
tokenizer**
+ <p>- The default built-in stopword list includes meaningless words such as
'is,' 'the,' 'a,' etc. When writing or querying, the tokenizer will ignore
words that are in the stopword list.</p>
+ <p>- none: Use an empty stopword list</p>
+</details>
+
**4. `COMMENT` is optional for specifying index comments**
### Adding Inverted Indexes to Existing Tables
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/index/inverted-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/index/inverted-index.md
index f18c2f8285c..d4621cd67db 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/index/inverted-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/index/inverted-index.md
@@ -190,6 +190,14 @@ table_properties;
<p>- 从 2.0.7 和 2.1.2 版本开始默认为 true,自动转小写,之前的版本默认为 false</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **指明使用的停用词表,会影响分词器的行为**
+ <p>默认的内置停用词表包含一些无意义的词:'is'、'the'、'a' 等。在写入或者查询时,分词器会忽略停用词表中的词。</p>
+ <p>- none: 使用空的停用词表</p>
+</details>
+
**4. `COMMENT` 是可选的,用于指定索引注释**
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/table-design/index/inverted-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/table-design/index/inverted-index.md
index dc04ef69717..65f5e5ecda6 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/table-design/index/inverted-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/table-design/index/inverted-index.md
@@ -190,6 +190,14 @@ table_properties;
<p>- 从 2.0.7 版本开始默认为 true,自动转小写,之前的版本默认为 false</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **指明使用的停用词表,会影响分词器的行为**
+ <p>默认的内置停用词表包含一些无意义的词:'is'、'the'、'a' 等。在写入或者查询时,分词器会忽略停用词表中的词。</p>
+ <p>- none: 使用空的停用词表</p>
+</details>
+
**4. `COMMENT` 是可选的,用于指定索引注释**
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/inverted-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/inverted-index.md
index 73033494184..0b05b0854b6 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/inverted-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/table-design/index/inverted-index.md
@@ -190,6 +190,14 @@ table_properties;
<p>- 从 2.1.2 版本开始默认为 true,自动转小写,之前的版本默认为 false</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **指明使用的停用词表,会影响分词器的行为**
+ <p>默认的内置停用词表包含一些无意义的词:'is'、'the'、'a' 等。在写入或者查询时,分词器会忽略停用词表中的词。</p>
+ <p>- none: 使用空的停用词表</p>
+</details>
+
**4. `COMMENT` 是可选的,用于指定索引注释**
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/table-design/index/inverted-index.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/table-design/index/inverted-index.md
index f18c2f8285c..d4621cd67db 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/table-design/index/inverted-index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/table-design/index/inverted-index.md
@@ -190,6 +190,14 @@ table_properties;
<p>- 从 2.0.7 和 2.1.2 版本开始默认为 true,自动转小写,之前的版本默认为 false</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **指明使用的停用词表,会影响分词器的行为**
+ <p>默认的内置停用词表包含一些无意义的词:'is'、'the'、'a' 等。在写入或者查询时,分词器会忽略停用词表中的词。</p>
+ <p>- none: 使用空的停用词表</p>
+</details>
+
**4. `COMMENT` 是可选的,用于指定索引注释**
diff --git a/versioned_docs/version-2.0/table-design/index/inverted-index.md
b/versioned_docs/version-2.0/table-design/index/inverted-index.md
index 9b59e377cff..358104d9af5 100644
--- a/versioned_docs/version-2.0/table-design/index/inverted-index.md
+++ b/versioned_docs/version-2.0/table-design/index/inverted-index.md
@@ -187,6 +187,14 @@ Syntax explanation:
<p>- From version 2.0.7, the default is true, automatically converting to
lowercase. Earlier versions default to false.</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **Specifying the stopword list to use, which will affect the behavior of the
tokenizer**
+ <p>- The default built-in stopword list includes meaningless words such as
'is,' 'the,' 'a,' etc. When writing or querying, the tokenizer will ignore
words that are in the stopword list.</p>
+ <p>- none: Use an empty stopword list</p>
+</details>
+
**4. `COMMENT` is optional for specifying index comments**
### Adding Inverted Indexes to Existing Tables
diff --git a/versioned_docs/version-2.1/table-design/index/inverted-index.md
b/versioned_docs/version-2.1/table-design/index/inverted-index.md
index 525147dc1df..d59f1b3903e 100644
--- a/versioned_docs/version-2.1/table-design/index/inverted-index.md
+++ b/versioned_docs/version-2.1/table-design/index/inverted-index.md
@@ -187,6 +187,14 @@ Syntax explanation:
<p>- From version 2.1.2, the default is true, automatically converting to
lowercase. Earlier versions default to false.</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **Specifying the stopword list to use, which will affect the behavior of the
tokenizer**
+ <p>- The default built-in stopword list includes meaningless words such as
'is,' 'the,' 'a,' etc. When writing or querying, the tokenizer will ignore
words that are in the stopword list.</p>
+ <p>- none: Use an empty stopword list</p>
+</details>
+
**4. `COMMENT` is optional for specifying index comments**
### Adding Inverted Indexes to Existing Tables
diff --git a/versioned_docs/version-3.0/table-design/index/inverted-index.md
b/versioned_docs/version-3.0/table-design/index/inverted-index.md
index e7f37511857..25e63fe8b65 100644
--- a/versioned_docs/version-3.0/table-design/index/inverted-index.md
+++ b/versioned_docs/version-3.0/table-design/index/inverted-index.md
@@ -187,6 +187,14 @@ Syntax explanation:
<p>- From versions 2.0.7 and 2.1.2, the default is true, automatically
converting to lowercase. Earlier versions default to false.</p>
</details>
+<details>
+ <summary>stopwords</summary>
+
+ **Specifying the stopword list to use, which will affect the behavior of the
tokenizer**
+ <p>- The default built-in stopword list includes meaningless words such as
'is,' 'the,' 'a,' etc. When writing or querying, the tokenizer will ignore
words that are in the stopword list.</p>
+ <p>- none: Use an empty stopword list</p>
+</details>
+
**4. `COMMENT` is optional for specifying index comments**
### Adding Inverted Indexes to Existing Tables
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]