[Neo4j] Neo4J REST console

2011-11-04 Thread andrew ton
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


Re: [Neo4j] Neo4J REST console

2011-11-04 Thread andrew ton


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


Re: [Neo4j] Neo4J REST console

2011-11-04 Thread Michael Hunger
Yep, the syntax changed between milestones.

Docs are here: http://docs.neo4j.org/chunked/snapshot/cypher-query-lang.html

Expect more and more radical changes ahead :)

Michael

Am 04.11.2011 um 17:16 schrieb andrew ton:

 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