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
Neo4j中的apoc.cypher.mapParallel2未给出预期结果_Neo4j_Parallel Processing_Cypher - Fatal编程技术网

Neo4j中的apoc.cypher.mapParallel2未给出预期结果

Neo4j中的apoc.cypher.mapParallel2未给出预期结果,neo4j,parallel-processing,cypher,Neo4j,Parallel Processing,Cypher,我有以下疑问 MATCH (e) WHERE SIZE((e:Customer)<-[:Transaction]-()) <> 0 AND SIZE(()<-[:Transaction]-(e)) <> 0 MATCH path = (e)-[:Transaction*..10]-(e) return path MATCH(e)WHERE SIZE((e:Customer)这个同样更高效的查询是否适合您 MATCH (e:Customer) WHERE (

我有以下疑问

MATCH (e) WHERE SIZE((e:Customer)<-[:Transaction]-()) <> 0
AND SIZE(()<-[:Transaction]-(e)) <> 0
MATCH path = (e)-[:Transaction*..10]-(e) return path

MATCH(e)WHERE SIZE((e:Customer)这个同样更高效的查询是否适合您

MATCH (e:Customer) 
WHERE (e)<-[:Transaction]-() AND ()<-[:Transaction]-(e)
WITH collect(e) AS users
CALL apoc.cypher.mapParallel2(
  "match (_)-[:Transaction*..10]->(_) return _.ID as ll",
  {},users,10) YIELD value
RETURN value.ll
匹配(e:客户)

其中(e)否,仍然不产生任何结果。
MATCH (e:Customer) 
WHERE (e)<-[:Transaction]-() AND ()<-[:Transaction]-(e)
WITH collect(e) AS users
CALL apoc.cypher.mapParallel2(
  "match (_)-[:Transaction*..10]->(_) return _.ID as ll",
  {},users,10) YIELD value
RETURN value.ll