防止为 Neo4j 算法回写
Prevent writing back for Neo4j algo
我使用的是 Neo4j 数据库,我只有读取权限。
我正在尝试 运行 一些算法。例如。社区检测 algo.scc.
根据 documentation algo.scc 有一个参数 write
其中
Specifies if the result should be written back as a node property.
但是当我 运行 它与 write
设置为 false
CALL algo.scc('Employee','MANAGES', {write:false})
YIELD loadMillis, computeMillis, writeMillis, setCount, maxSetSize, minSetSize;
我收到以下错误:
Neo.ClientError.Security.Forbidden: Write operations are not allowed for user 'dm00221' with roles [reader].
我在带有 {write:false}
选项的文档中找不到任何示例。
我做错了什么?
如果有帮助,试试这个。
CALL algo.scc.stream('Employee', 'MANAGES', {concurrency:4})
YIELD nodeId, partition
我使用的是 Neo4j 数据库,我只有读取权限。
我正在尝试 运行 一些算法。例如。社区检测 algo.scc.
根据 documentation algo.scc 有一个参数 write
其中
Specifies if the result should be written back as a node property.
但是当我 运行 它与 write
设置为 false
CALL algo.scc('Employee','MANAGES', {write:false})
YIELD loadMillis, computeMillis, writeMillis, setCount, maxSetSize, minSetSize;
我收到以下错误:
Neo.ClientError.Security.Forbidden: Write operations are not allowed for user 'dm00221' with roles [reader].
我在带有 {write:false}
选项的文档中找不到任何示例。
我做错了什么?
如果有帮助,试试这个。
CALL algo.scc.stream('Employee', 'MANAGES', {concurrency:4})
YIELD nodeId, partition