Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
基于特定叶节点遍历ACL Neo4J结构_Neo4j_Cypher - Fatal编程技术网

基于特定叶节点遍历ACL Neo4J结构

基于特定叶节点遍历ACL Neo4J结构,neo4j,cypher,Neo4j,Cypher,我们一直在努力理解这个问题。我们正试图用自上而下的方法遍历图形。我们通过以下方式找到了根节点: start n = node:node_auto_index(Name = "myFile.pdf") match (n)<-[*]-(x)<-[:CONTENT_ROOT]-(p) return n,x; 我们如何确定哪一个是最通用的 现在我们面临的麻烦是将每个节点的权限返回到“myFile.pdf”节点。我们似乎要么得到查询中包含的“temp”节点,要么它不返回所有节点 我们的尝试:

我们一直在努力理解这个问题。我们正试图用自上而下的方法遍历图形。我们通过以下方式找到了根节点:

start n = node:node_auto_index(Name = "myFile.pdf") match (n)<-[*]-(x)<-[:CONTENT_ROOT]-(p) return n,x;
我们如何确定哪一个是最通用的

现在我们面临的麻烦是将每个节点的权限返回到“myFile.pdf”节点。我们似乎要么得到查询中包含的“temp”节点,要么它不返回所有节点

我们的尝试:

start n = node:node_auto_index(Name = "Root Folder") match (n)<-[r:SECURITY]-(x) return n, r.Comment, x;
start n=node:node\u auto\u index(Name=“Root Folder”)匹配(n)
start n = node:node_auto_index(Name = "Root Folder") match (n)<-[r:SECURITY]-(x) return n, r.Comment, x;