Re: [Neo4j] Creating unique relationship using java api

2016-05-18 Thread Sukaant Chaudhary
I think Cypher Query will be better. It will be something like: MATCH (root { name: 'root' })CREATE UNIQUE (root)-[:LOVES]-(someone)RETURN someone Hope this helps! -Sukaant Chaudhary On Wed, May 18, 2016 at 5:05 PM, Cherie Pun

Re: [Neo4j] save and restore database state

2016-05-18 Thread Jens Weber
I have been developing a rule-based graph transformation engine on top of Neo4J (Grape). Think of it as a declarative, rule-based language for defining and executing sub-graph replacements. With the rule-based engine you can define and solve certain "search" problems, based on a

[Neo4j] Creating unique relationship using java api

2016-05-18 Thread Cherie Pun
Hi, I am wondering is there a way to create a unique relationship from nodeA to nodeB using just the java api? Or must I execute a cypher query for that? Also, if both ways are available, which way is more efficient? Thanks. -- You received this message because you are subscribed to the

Re: [Neo4j] Anybody currently using Neo4j with Django?

2016-05-18 Thread Christoph Pingel
Jeff, did you try neomodel? https://pypi.python.org/pypi/neomodel/2.0.2 It's built on top of py2neo and supports django models. Haven't worked with it myself, though. 2016-05-18 6:50 GMT+02:00 'Michael Hunger' via Neo4j : > I saw this popping up today, but Nigel also

Re: [Neo4j] Shortest path using query

2016-05-18 Thread Johan Kumps
Thanks for your answers. As said I'm using Neo4J 2.2.5 together with Spring-data. Could you please provide me an example of this Dijkstra approach. If needed I can upgrade the Neo4J library. I do want however to be able to use the spring data and Cypher approach. Thanks in advance. Johan, Op