Neo4j RESTAPI批处理密码JSON解析问题

Neo4j RESTAPI批处理密码JSON解析问题,neo4j,Neo4j,我将以下内容发布到/db/data/batch,以尝试一次性检索节点并更新其属性 [{“方法”:“POST”,“to”:“/cypher”,“body”:{“params”:{},“query”:“start x=node(683)return x”},“id”:1},{“方法”:“PUT”,“to”:“{1}/properties”,“body”:{“score”:100,“pp”:1},“id”:2}] 从我看到的情况来看,它看起来不错,但我得到了以下错误响应 onData: { "

我将以下内容发布到/db/data/batch,以尝试一次性检索节点并更新其属性

[{“方法”:“POST”,“to”:“/cypher”,“body”:{“params”:{},“query”:“start x=node(683)return x”},“id”:1},{“方法”:“PUT”,“to”:“{1}/properties”,“body”:{“score”:100,“pp”:1},“id”:2}]

从我看到的情况来看,它看起来不错,但我得到了以下错误响应

onData:  {

  "message" : "Illegal character in path at index 2: ./{1}/properties",

 "exception" : "IllegalArgumentException",

  "fullname" : "java.lang.IllegalArgumentException",
如果有关系的话,我使用的是AS3-JSON和neo4j 2.0,我怀疑这与Flash的JSON有关。stringify会弄乱“{1}/properties”,但传出的消息看起来很好。

有什么想法吗

你不能批处理密码并引用它返回的东西,好吧

如果你在做密码,你可以只做
start x=node(683)set x.score=100,x.pp=1
。(传入参数)