[英]Neo4j Unknown Error
I'm trying to create a relationship between a node that has a child node with a property value that matches the name of it's grandparent. 我试图在具有子节点的节点之间创建关系,该子节点的属性值与其祖父母的名称相匹配。
I'm running the following cypher against Neo4j 2.0.0-M06. 我正在对Neo4j 2.0.0-M06运行以下密码。
match (l:Transformer),(m:Asset)-[:HAS_PARENT]-(n:Attribute)
where n.Name = "Transformer"
and n.Value = l.Name
create (m)-[:HAS_PARENT_TRANSFORMER]->(l)
It's crashing with an unknown error. 崩溃时出现未知错误。 All that's in the message log :
消息日志中的所有内容:
2014-01-09 22:46:21.226+0000 WARN [onkEmbeddedGraphDatabase]: GC Monitor: Application threads blocked for an additional 334ms [total block time: 0.334s]
2014-01-09 22:46:21.226 + 0000 WARN [onkEmbeddedGraphDatabase]:GC监视器:应用程序线程被阻塞了另外334ms [总阻塞时间:0.334s]
Probably first of all update to 2.0.0 可能首先更新到2.0.0
then you can also try this: 那么您也可以尝试以下操作:
match (l:Transformer)
WITH l.Name as Name
MATCH (m:Asset)-[:HAS_PARENT]-(n:Attribute)
where n.Name = "Transformer"
and n.Value = Name
create (m)-[:HAS_PARENT_TRANSFORMER]->(l)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.