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