无法在关系neo4j上设置属性

时间:2016-07-03 23:50:27

标签: neo4j cypher

我正在运行以下密码。它曾经在以前版本的neo4j上完美运行。现在它没有设置属性。 CSV文件完好无损,并且包含以下字段。在shell中,它甚至没有显示最后两行的行号,它完全忽略了命令。

using periodic commit
load csv with headers from "file:/relacionamento.csv" as row
match (p1:Pessoa {idpessoa: toint(row.idpessoa1)})
match (p2:Pessoa {idpessoa: toint(row.idpessoa2)})
create (p1)-[r:RELACIONAMENTO]->(p2) set r.peso_relacionamento = tofloat(row.peso_relacionamento), 
r.peso_relacionamento_ponderado = tofloat(row.peso_relacionamento_fator)

0 个答案:

没有答案