It's new to 2.0. For 1.9, use unique index lookup, see http://docs.neo4j.org/chunked/milestone/rest-api-unique-indexes.html which should work.
/peter (snt)-[:frm]->(phn) On Dec 19, 2013 7:55 AM, "Shahar Taite" <doctor.engi...@gmail.com> wrote: > is this a 2.0 feature? i can't get this to work on 1.9...any solution for > 1.9? > thanks > > On Wednesday, December 18, 2013 2:27:28 PM UTC+2, Michael Hunger wrote: >> >> Use MERGE for that: http://docs.neo4j.org/chunked/milestone/query-merge. >> html >> Am 18.12.2013 um 13:09 schrieb Shahar Taite <doctor....@gmail.com>: >> >> Hey, >> i'm trying to create a unique node without starting at a certain point or >> matching a path. just creating a node if it doesn't exist(having the exact >> same properties) >> i've noticed something like create node{Type:"root"} would >> work, however create unique node{Type:"root"} won't work. >> any advice? >> thanks >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Neo4j" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to neo4j+un...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to neo4j+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.