I figured out the problem in the console. I have to write "start a = node(1) 
return a" to make it work


________________________________
From: andrew ton <andrewt...@yahoo.com>
To: Neo4j_user <user@lists.neo4j.org>
Sent: Friday, November 4, 2011 9:16 AM
Subject: [Neo4j] Neo4J REST console

Hi,

I'm using Neo4j REST 1.5 -SNAPSHOT. In the console I always get "==>string 
matching regex `(?i)\Qrel\E' expected but `(' found" even I use the basic query 
in the Cypher Cheetsheet like START a = (1) RETURN a ?

Can I use index lookup for a node in the Rest request? For ex: my query is
  {"query": "start school=node:nodes(name=\"MySchool\") match 
(school)-[:locatedIn]->(location), (school)-[:foundedBy]->(founder) return 
school, location, founder"}


Thanks,
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to