You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs-next/current/sql-manual/sql-statements/table-and-view/index/CREATE-INDEX.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
```sql
16
16
CREATE INDEX [IF NOT EXISTS] <index_name>
17
17
ON<table_name> (<column_name> [, ...])
18
-
[USING {INVERTED | NGRAM_BF}]
18
+
[USING {INVERTED | NGRAM_BF | ANN}]
19
19
[PROPERTIES ("<key>"="<value>"[ , ...])]
20
20
[COMMENT '<index_comment>']
21
21
```
@@ -84,21 +84,21 @@ CREATE INDEX [IF NOT EXISTS] <index_name>
84
84
- 在 table1 上创建倒排索引 index1
85
85
86
86
```sql
87
-
CREATEINDEXindex1ON table1 USING INVERTED;
87
+
CREATEINDEXindex1ON table1(col1) USING INVERTED;
88
88
```
89
89
90
90
- 在 table1 上创建 NGram BloomFilter 索引 index2
91
91
92
92
```sql
93
-
CREATE INDEX index2 ON table1 USING NGRAM_BF PROPERTIES("gram_size"="3", "bf_size"="1024");
93
+
CREATE INDEX index2 ON table1(col1) USING NGRAM_BF PROPERTIES("gram_size"="3", "bf_size"="1024");
94
94
```
95
95
96
-
-在 table1 上创建 ANN 索引 index3
96
+
-在table1 上创建 ANN 索引 index3
97
97
98
98
```sql
99
99
CREATE INDEX index3 ON table1 (`embedding`) USING ANN PROPERTIES(
Copy file name to clipboardExpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/index/CREATE-INDEX.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
```sql
16
16
CREATE INDEX [IF NOT EXISTS] <index_name>
17
17
ON<table_name> (<column_name> [, ...])
18
-
[USING {INVERTED | NGRAM_BF}]
18
+
[USING {INVERTED | NGRAM_BF | ANN}]
19
19
[PROPERTIES ("<key>"="<value>"[ , ...])]
20
20
[COMMENT '<index_comment>']
21
21
```
@@ -84,21 +84,21 @@ CREATE INDEX [IF NOT EXISTS] <index_name>
84
84
- 在 table1 上创建倒排索引 index1
85
85
86
86
```sql
87
-
CREATEINDEXindex1ON table1 USING INVERTED;
87
+
CREATEINDEXindex1ON table1(col1) USING INVERTED;
88
88
```
89
89
90
90
- 在 table1 上创建 NGram BloomFilter 索引 index2
91
91
92
92
```sql
93
-
CREATE INDEX index2 ON table1 USING NGRAM_BF PROPERTIES("gram_size"="3", "bf_size"="1024");
93
+
CREATE INDEX index2 ON table1(col1) USING NGRAM_BF PROPERTIES("gram_size"="3", "bf_size"="1024");
94
94
```
95
95
96
-
-在 table1 上创建 ANN 索引 index3
96
+
-在table1 上创建 ANN 索引 index3
97
97
98
98
```sql
99
99
CREATE INDEX index3 ON table1 (`embedding`) USING ANN PROPERTIES(
0 commit comments