morrySnow commented on code in PR #2036:
URL: https://github.com/apache/doris-website/pull/2036#discussion_r1952244758


##########
docs/sql-manual/sql-statements/table-and-view/index/CREATE-INDEX.md:
##########
@@ -27,29 +27,92 @@ under the License.
 
 ## Description
 
-This statement is used to create an index
-grammar:
+Create a new index on a table. The table name and index name must be 
specified. Optionally, you can specify the index type, properties, and comments.
+
+## Syntax
+
 
 ```sql
-CREATE INDEX [IF NOT EXISTS] index_name ON table_name (column [, ...],) [USING 
INVERTED] [COMMENT 'balabala'];
+CREATE INDEX [IF NOT EXISTS] <index_name> 
+             ON <table_name> (<column_name> [, ...])
+             [USING {INVERTED | NGRAM_BF}]
+             [PROPERTIES ("<key>" = "<value>"[ , ...])]
+             [COMMENT '<index_comment>']
 ```
-Notice:
-- INVERTED indexes are only created on a single column
 
-## Example
+## Required Parameters
 
-1. Create a inverted index for siteid on table1
+**1. <index_name>**

Review Comment:
   ```suggestion
   **1. `<index_name>`**
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to