diff --git a/docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md b/docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md index e101897d7f6..331664ca035 100644 --- a/docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md +++ b/docs-2.0/3.ngql-guide/7.general-query-statements/2.match.md @@ -137,6 +137,13 @@ nebula> MATCH (v:player) \ To match vertices with multiple tags, use colons (:). +!!! note + + + It is not yet supported to add property conditions when matching vertices with multiple tags. + + For example, the statement `match (v1:player:team) where v1.player.name=="Tim Duncan" return v1 limit 10;` does not work. + ```ngql nebula> CREATE TAG actor (name string, age int); nebula> INSERT VERTEX actor(name, age) VALUES "player100":("Tim Duncan", 42); @@ -394,6 +401,12 @@ nebula> MATCH (v:player{name:"Tim Duncan"})-[e:follow{degree:95}]->(v2) \ The `|` symbol can help matching multiple edge types. For example: `[e:follow|:serve]`. The English colon (:) before the first edge type cannot be omitted, but the English colon before the subsequent edge type can be omitted, such as `[e:follow|serve]`. +!!! note + + It is not yet supported to add property conditions when matching data with multiple tags and multiple edge types at the same time. + + For example, the statement `MATCH (v)-[e:follow|serve]->(v2) where v.player.name=="Tim Duncan" RETURN e limit 10;` does not work. `(v)` represents a vertex with all its tags. + ```ngql nebula> MATCH (v:player{name:"Tim Duncan"})-[e:follow|:serve]->(v2) \ RETURN e; diff --git a/docs-2.0/nebula-explorer/12.query-visually.md b/docs-2.0/nebula-explorer/12.query-visually.md index ddc0713cb12..15ee043b050 100644 --- a/docs-2.0/nebula-explorer/12.query-visually.md +++ b/docs-2.0/nebula-explorer/12.query-visually.md @@ -60,9 +60,9 @@ On the page, the descriptions of other icons are as follows. - **Filter**: Add one or more sets of filter conditions, including vertex properties, operators, and property values. - !!! enterpriseonly + !!! note - When setting multiple tags in the **Tag Name** dialog box, only the Nebula Graph Enterprise Edition supports setting **filter conditions** to query data. + When setting multiple tags in the **Tag Name** dialog box, it is not supported to set **filter conditions** to query data. 4. Set an edge by clicking. The descriptions configuration options are as follows. @@ -86,9 +86,9 @@ On the page, the descriptions of other icons are as follows. - **Filter**: Add one or more sets of filter conditions, including edge properties, operators, and property values. - !!! enterpriseonly + !!! note - When setting multiple edge types in the **Edge Type** dialog box, only the Nebula Graph Enterprise Edition supports setting **filter conditions** to query data. + When setting multiple edge types in the **Edge Type** dialog box, it is not supported to set **filter conditions** to query data. 5. After the query scenarios (pattern) is created, click ![Output](https://docs-cdn.nebula-graph.com.cn/figures/visual-nav-output.png) and select the result you want to return.