【发布时间】:2015-11-04 01:00:56
【问题描述】:
多个可选匹配在 Neo4j 2.2.3 中返回以下错误。我正在使用 Cypher 2.2 解析器。 **
“org.neo4j.rest.graphdb.RestResultException: null at NullPointerException”。相同的查询在 Neo4j 2.1.7 中完美运行。
**
match (user:user)-[k:SUBSCRIBED]->(package)
where package.startDate < 1439268888365 and package.endDate > 1439268888365
with package,user optional match (package)-[j:HAS]->(products)
with package,j,products,user optional match (package)-[j:HAS]-(otherpackages)
return distinct package,products,user,otherpackages
有什么办法可以解决这个问题吗?
【问题讨论】:
标签: neo4j match cypher optional