I've tried this as well, however i don't use an ad hoc REST path for each node type. i just send it to http://localhost:7474/db/data/node with all of the properties. i've just tried http://localhost:7474/db/data/node?*uniqueness=get_or_create *but this still creates a new node everytime. do i need to setup something for this to work? thanks
On Thursday, December 19, 2013 9:52:13 AM UTC+2, Peter Neubauer wrote: > > It's new to 2.0. For 1.9, use unique index lookup, see > http://docs.neo4j.org/chunked/milestone/rest-api-unique-indexes.htmlwhich > should work. > > /peter > > (snt)-[:frm]->(phn) > On Dec 19, 2013 7:55 AM, "Shahar Taite" <doctor....@gmail.com<javascript:>> > 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+un...@googlegroups.com <javascript:>. >> 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.