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 28cc53c27d9..65f903b585e 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 @@ -143,6 +143,19 @@ nebula> MATCH (v) \ +----------------------------------------------------+ | ("player100" :player{age: 42, name: "Tim Duncan"}) | +----------------------------------------------------+ + +nebula> WITH ['Tim Duncan', 'Yao Ming'] AS names \ + MATCH (v1:player)-->(v2:player) \ + WHERE v1.player.name in names \ + return v1, v2; ++----------------------------------------------------+----------------------------------------------------------+ +| v1 | v2 | ++----------------------------------------------------+----------------------------------------------------------+ +| ("player133" :player{age: 38, name: "Yao Ming"}) | ("player114" :player{age: 39, name: "Tracy McGrady"}) | +| ("player133" :player{age: 38, name: "Yao Ming"}) | ("player144" :player{age: 47, name: "Shaquille O'Neal"}) | +| ("player100" :player{age: 42, name: "Tim Duncan"}) | ("player101" :player{age: 36, name: "Tony Parker"}) | +| ("player100" :player{age: 42, name: "Tim Duncan"}) | ("player125" :player{age: 41, name: "Manu Ginobili"}) | ++----------------------------------------------------+----------------------------------------------------------+ ``` ### Match VIDs diff --git a/docs-2.0/nebula-explorer/workflow/1.prepare-resources.md b/docs-2.0/nebula-explorer/workflow/1.prepare-resources.md index c3777d67bef..e493706bfdb 100644 --- a/docs-2.0/nebula-explorer/workflow/1.prepare-resources.md +++ b/docs-2.0/nebula-explorer/workflow/1.prepare-resources.md @@ -35,7 +35,7 @@ You must prepare your environment for running a workflow, including NebulaGraph Add the address of the NebulaGraph Analytics where the graph computing will be performed. - Nebula Analytics Node IP address: fill in the new Analytics node IP address. - - Username: Default is `vesoft` and does not need to be changed. + - Username: The username used for password-free access to this Analytics node. The username must be consistent across all Analytics nodes. - SSH port number: Default is `22`. - SSH key path for passwordless auth: Used for SSH-free login between machines. Default is `~/.ssh/id_rsa`. - Local data directory: Default is `~/analytics-data`. diff --git a/docs-2.0/synchronization-and-migration/replication-between-clusters.md b/docs-2.0/synchronization-and-migration/replication-between-clusters.md index e51eecaed55..825e7280b3c 100644 --- a/docs-2.0/synchronization-and-migration/replication-between-clusters.md +++ b/docs-2.0/synchronization-and-migration/replication-between-clusters.md @@ -47,7 +47,7 @@ The synchronization works as follows: - The machines where the listeners and drainers run must have enough disk space to store the WAL or snapshot files. -- If the target graph space in the secondary cluster has data before the synchronization starts, data conflicts or inconsistencies may happen during the synchronization. It is recommended to keep the target graph space empty. +- If the target graph space in the secondary cluster has schema or data before the synchronization starts, conflicts or inconsistencies may happen during the synchronization. It is recommended to keep the target graph space empty. - It is recommended to use the NebulaGraph `root` user with the God privileges to perform the cluster data synchronization. The required user roles for each synchronization command are different. For details, see the **Role permission requirements** section at the end of this topic.