zhiqiang-hhhh commented on code in PR #3152:
URL: https://github.com/apache/doris-website/pull/3152#discussion_r2587992421
##########
docs/sql-manual/sql-statements/table-and-view/index/CREATE-INDEX.md:
##########
@@ -95,4 +95,14 @@ The user executing this SQL command must have at least the
following permissions
```sql
CREATE INDEX index2 ON table1 USING NGRAM_BF PROPERTIES("gram_size"="3",
"bf_size"="1024");
- ```
\ No newline at end of file
+ ```
+
+- Create an ANN index `index3` on `table1` (`embedding`) vector column.
+
+ ```sql
+ CREATE INDEX index3 ON table1 (`embedding`) USING ANN PROPERTIES(
+ "index_type"="hnsw",
+ "metric_type"="l2_distance",
+ "dim"="1"
Review Comment:
"dim"="1" is not a common usage.
--
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]