Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/algorithm/11.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

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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/111.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
Algorithm 如何使用外部查询调用支持密码投影的过程_Algorithm_Neo4j_Cypher_Projection - Fatal编程技术网

Algorithm 如何使用外部查询调用支持密码投影的过程

Algorithm 如何使用外部查询调用支持密码投影的过程,algorithm,neo4j,cypher,projection,Algorithm,Neo4j,Cypher,Projection,我刚刚发布了一条关于在写模式下以CYPHER投影方式执行过程的错误消息@Nmervalie解释了问题是什么,但我仍然不知道如何解决我的实际问题 我尝试在具有加权相似边的案例节点上,在使用ga.timetree.range过程的范围内的选择上,查询algo.labelpropagation.stream过程 此操作失败,因为范围过程处于写入模式。是否可以将数据范围选择查询置于标签传播过程调用之前 这是我最初的,失败的密码查询 CALL algo.labelPropagation.stream(

我刚刚发布了一条关于在写模式下以CYPHER投影方式执行过程的错误消息@Nmervalie解释了问题是什么,但我仍然不知道如何解决我的实际问题

我尝试在具有加权相似边的案例节点上,在使用
ga.timetree.range
过程的范围内的选择上,查询
algo.labelpropagation.stream
过程

此操作失败,因为范围过程处于写入模式。是否可以将数据范围选择查询置于标签传播过程调用之前

这是我最初的,失败的密码查询

CALL algo.labelPropagation.stream(
    'CALL ga.timetree.events.range({start: 1480896000000, end: 1520294400000}) YIELD node RETURN id(node) AS id',
    'MATCH (c1:Case)-[r:NARROWER_THAN]->(c2:Case) RETURN id(c1) AS source, id(c2) as target, r.score AS weight', 
    { graph:'cypher'}
)YIELD nodeId, label
with label as lpa, collect(nodeId) as ids, count(nodeId) as c  
where c > 2
return lpa, c, ids  
order by c desc