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

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


The following commit(s) were added to refs/heads/master by this push:
     new 51eb147711 fix inverted index doc typo and reorganize index related 
docs (#16915)
51eb147711 is described below

commit 51eb147711f66e644520a1377dfc3eb284a1c46a
Author: Kang <[email protected]>
AuthorDate: Wed Feb 22 15:15:10 2023 +0800

    fix inverted index doc typo and reorganize index related docs (#16915)
---
 docs/en/docs/data-table/index/inverted-index.md    | 2 +-
 docs/en/docs/data-table/index/prefix-index.md      | 8 +++++---
 docs/sidebars.json                                 | 2 +-
 docs/zh-CN/docs/data-table/index/inverted-index.md | 4 ++--
 docs/zh-CN/docs/data-table/index/prefix-index.md   | 8 +++++---
 5 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/docs/en/docs/data-table/index/inverted-index.md 
b/docs/en/docs/data-table/index/inverted-index.md
index af39c1ba3f..e7ca3c6ef9 100644
--- a/docs/en/docs/data-table/index/inverted-index.md
+++ b/docs/en/docs/data-table/index/inverted-index.md
@@ -40,7 +40,7 @@ From version 2.0.0, Doris implemented inverted index to 
support fulltext search
 
 ## Basic Principles
 
-Doris use [CLucene](https://clucene.sourceforge.net/) as its underlying lib 
for inverted index. CLucene is a high performance and robust implementation of 
the famous Lucene inverted index library. Doris optimize CLucene to be more 
simple, fast and suitable for a database.
+Doris use [CLucene](https://clucene.sourceforge.net/) as its underlying lib 
for inverted index. CLucene is a high performance and robust implementation of 
the famous Lucene inverted index library written in C++. Doris optimize CLucene 
to be more simple, fast and suitable for a database.
 
 In the inverted index of Doris, a row in a table corresponds to a doc in 
CLucene, a column corresponds to a field in doc. So using inverted index, doris 
can get the rows that meet the filter of SQL WHERE clause, and then get the 
rows quickly without reading other unrelated rows.
 
diff --git a/docs/en/docs/data-table/index/prefix-index.md 
b/docs/en/docs/data-table/index/prefix-index.md
index 89a5c17457..7647be658c 100644
--- a/docs/en/docs/data-table/index/prefix-index.md
+++ b/docs/en/docs/data-table/index/prefix-index.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "Index",
+    "title": "Index Overview",
     "language": "en"
 }
 ---
@@ -24,11 +24,13 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-# Index
+# Index Overview
 
 Indexes are used to help quickly filter or find data.
 
-Doris currently supports two main types of indexes: built-in smart indexes, 
including prefix indexes and ZoneMap indexes. User-created secondary indexes, 
including the [Bloom Filter index](. /bloomfilter) and [Bitmap inverted 
index](. /bitmap-index).
+Doris currently supports two main types of indexes:
+1. built-in smart indexes, including prefix indexes and ZoneMap indexes.
+2. User-created secondary indexes, including the [inverted 
index](./inverted-index), [bloomfilter index](./bloomfilter)、[ngram bloomfilter 
index](./ngram-bloomfilter-index) and [bitmap index](./bitmap-index).
 
 The ZoneMap index is the index information automatically maintained for each 
column in the column storage format, including Min/Max, the number of Null 
values, and so on. This index is transparent to the user.
 
diff --git a/docs/sidebars.json b/docs/sidebars.json
index c9e8829d27..dcd4eef73e 100644
--- a/docs/sidebars.json
+++ b/docs/sidebars.json
@@ -54,10 +54,10 @@
                     "type": "category",
                     "label": "Index",
                     "items": [
+                        "data-table/index/prefix-index",
                         "data-table/index/inverted-index",
                         "data-table/index/bloomfilter",
                         "data-table/index/ngram-bloomfilter-index",
-                        "data-table/index/prefix-index",
                         "data-table/index/bitmap-index"
                     ]
                 }
diff --git a/docs/zh-CN/docs/data-table/index/inverted-index.md 
b/docs/zh-CN/docs/data-table/index/inverted-index.md
index 1df1b6eee7..665aa5706c 100644
--- a/docs/zh-CN/docs/data-table/index/inverted-index.md
+++ b/docs/zh-CN/docs/data-table/index/inverted-index.md
@@ -42,7 +42,7 @@ under the License.
 
 
Doris使用[CLucene](https://clucene.sourceforge.net/)作为底层的倒排索引库。CLucene是一个用C++实现的高性能、稳定的Lucene倒排索引库。Doris进一步优化了CLucene,使得它更简单、更快、更适合数据库场景。
 
-在Doris的倒排索引实现中,table的一行对应一个文档、一列对应文档中的一个字段,因此利用倒排索引可以根据关键词快速定位包含它的行,达到WHERE字句加速的目的。
+在Doris的倒排索引实现中,table的一行对应一个文档、一列对应文档中的一个字段,因此利用倒排索引可以根据关键词快速定位包含它的行,达到WHERE子句加速的目的。
 
 
与Doris中其他索引不同的是,在存储层倒排索引使用独立的文件,跟segment文件有逻辑对应关系、但存储的文件相互独立。这样的好处是可以做到创建、删除索引不用重写tablet和segment文件,大幅降低处理开销。
 
@@ -367,7 +367,7 @@ mysql> SELECT count() FROM hackernews_1m WHERE parent = 
11189;
 1 row in set (0.01 sec)
 ```
 
-- 对字符串类型的author建立部分词的倒排索引,等值查询也可以利用索引加速
+- 对字符串类型的author建立不分词的倒排索引,等值查询也可以利用索引加速
 ```sql
 mysql> SELECT count() FROM hackernews_1m WHERE author = 'faster';
 +---------+
diff --git a/docs/zh-CN/docs/data-table/index/prefix-index.md 
b/docs/zh-CN/docs/data-table/index/prefix-index.md
index 90960fa15d..bf5863a866 100644
--- a/docs/zh-CN/docs/data-table/index/prefix-index.md
+++ b/docs/zh-CN/docs/data-table/index/prefix-index.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "索引",
+    "title": "索引概述",
     "language": "zh-CN"
 }
 ---
@@ -23,11 +23,13 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
-# 索引
+# 索引概述
 
 索引用于帮助快速过滤或查找数据。
 
-目前 Doris 主要支持两类索引:内建的智能索引,包括前缀索引和 ZoneMap 索引。用户创建的二级索引,包括 [Bloom Filter 
索引](./bloomfilter) 和[Bitmap倒排索引](./bitmap-index)。
+目前 Doris 主要支持两类索引:
+1. 内建的智能索引,包括前缀索引和 ZoneMap 索引。
+2. 用户手动创建的二级索引,包括 
[倒排索引](./inverted-index)、[bloomfilter索引](./bloomfilter)、[ngram 
bloomfilter索引](./ngram-bloomfilter-index) 和[bitmap索引](./bitmap-index)。
 
 其中 ZoneMap 索引是在列存格式上,对每一列自动维护的索引信息,包括 Min/Max,Null 值个数等等。这种索引对用户透明。
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to