-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc]index #1578
[doc]index #1578
Conversation
Unit testing passed. |
Unit testing passed. |
nebula> CREATE TAG INDEX player_index_0 on player(name); | ||
``` | ||
|
||
上述语句在所有标签为 _player_ 的顶点上为属性 _name_ 创建了一个索引。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
点
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the two are the same thing
docs/manual-EN/2.query-language/4.statement-syntax/1.data-definition-statements/index.md
Outdated
Show resolved
Hide resolved
docs/manual-EN/2.query-language/4.statement-syntax/3.utility-statements/describe-syntax.md
Outdated
Show resolved
Hide resolved
CREATE {TAG | EDGE} INDEX [IF NOT EXISTS] <index_name> ON {<tag_name> | <edge_name>} (prop_name_list) | ||
``` | ||
|
||
schema 索引可用于快速处理图查询。**Nebula Graph** 支持两种类型的索引:**标签索引**和**边类型索引**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
边索引
is better ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
边索引 is definitely better, but 边类型索引 is more clear to me.
docs/manual-CN/2.query-language/4.statement-syntax/1.data-definition-statements/index.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job ! LGTM
* index * index doc * add if not exists and CN version * add if exists in drop index * address wilson and darion comments Co-authored-by: dutor <440396+dutor@users.noreply.github.com>
…p is empty (vesoft-inc#1578) Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
query index doc.
code pr #1459 #1598