Skip to content

Commit

Permalink
change notes for tag match prerequisites
Browse files Browse the repository at this point in the history
close #708
  • Loading branch information
wey-gu committed Jul 16, 2021
1 parent 5546dda commit 1814260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ nebula> SHOW JOB 122;

用户可以在一对括号中使用自定义变量来表示模式中的点。例如`(v)`

### 匹配Tag
### 匹配 Tag

!!! Note

Tag的索引和属性的索引不同。如果Tag的某个属性有索引,但是Tag本身没有索引,用户无法基于该Tag执行`MATCH`语句。
匹配 Tag 的前提是 Tag 本身有索引或者 Tag 的某个属性有索引,否则,用户无法基于该 Tag 执行 `MATCH` 语句。

用户可以在点的右侧用`:<tag_name>`表示模式中的Tag。

Expand Down

0 comments on commit 1814260

Please sign in to comment.