neo4j - Possible Bug in the 2.0.0 webclient -


when downloading packed server version of neo4j community v2.0.0, provide web interface cypher, however, cannot make accept queries of form:

match (a:person {name: {value1}}) return a; 

it calls syntax error on first curly bracket, , accept

match (a:person) a.name ="value1" return a; 

am using wrong, or bug in parser? first form appears work fine when use embedded client, when using webclient interface there problem.

update: clear, in 2.0.0 web interface, examples cypher 2.0 reference card throw syntax errors; e.g. line match (n {name:'alice'})-->(m) return n reference card: http://docs.neo4j.org/refcard/2.0/ gives following error:

node properties cannot specified in context (line 1, column 10) "match (n {name:'alice'})-->(m)" 

even though works fine when passed cypher execution engine in embedded client.

answer: turned out problem was using milestone release not complete/bug free. 2.0.1 stable release solves problem.

the notation of first query using parameterized cypher, see http://docs.neo4j.org/chunked/stable/cypher-parameters.html. parameters important when developing application using neo4j. usage inside neo4j browser, parameters pretty useless cannot specify values.

use following syntax instead:

match (a:person {name: 'value1'}) return a; 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -