> > What version of Neo4j are you using? This query is valid syntax for 1.4.x > and 1.5.M01. > > I'm using version 1.4.1
> Later you would want to use: > > > start a=node:nodeIndex(identifier='0') return a > > I tried that and got the error: org.neo4j.cypher.SyntaxException: `<' expected but `n' found > > at org.neo4j.cypher.parser.CypherParser.parse(CypherParser.scala:75) > > at org.neo4j.cypher.javacompat.CypherParser.parse(CypherParser.java:39) > > at >> org.whispercomm.manes.server.graph.IntegrationTest.cypherTest(IntegrationTest.java:83) > > And if you do in Java: > Node node = > gds.index().forNodes("nodeIndex").get("identifier","0").getSingle() > > then node is the user you want? > > Yes, that command gives me the user I want. How would I do that in cypher? > I'm not sure if that makes a difference, did you index your identifiers as > Strings or numeric values? > I set the properties of the node as byte [ ], and then the properties are auto-indexed. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Confirming-existence-of-relationship-between-two-nodes-tp3501458p3508562.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user