In regards to Neo4j, I’m noob. I’ve been attempting to learn Cypher by using the console in the website admin. But there seems to be quirks that I’m not aware off or there is a configuration setting that is incorrect.
For example: at the following URL, a very simple Cypher is provided (see code below) http://docs.neo4j.org/chunked/1.7.2/shell-commands.html#_query_with_cypher
When I execute the following Cypher on the console in the Neo4j admin website, I get an error:
start n = (0) return n ==> SyntaxException: expected either node or relationship here ==> "start m = (0) return m"
But if I execute the following Cypher. Notice that I added “node” prior to the “(0)”. Everything works fine:
start n = node(0) return n ==> +-----------+ ==> | n | ==> +-----------+ ==> | Node[0]{} | ==> +-----------+ ==> 1 row, 0 ms
It seems that many examples I see do not include the word “node” in similar scenerios. Should this be expected or is there something I’m doing wrong?
I’m running Neo4j version 1.7.2 on windows server 2008.