Re: [Neo4j] Neo4J query to do Group By on Nodes for same type of data

2016-05-17 Thread 'Michael Hunger' via Neo4j
MATCH (person:Person)-[:ADDRESS_AT]->(address:Address) WITH address, COLLECT(person.name) AS names WHERE size(names) > 1 RETURN address, names; > Am 17.05.2016 um 01:52 schrieb Docers Docy : > > > 0 > down vote > favorite > Following is what I created in Neo4j: > > Nodes:

Re: [Neo4j] decode noe4j database 2.1.4

2016-05-17 Thread 'Michael Hunger' via Neo4j
Why / what do you want to do? > Am 17.05.2016 um 07:50 schrieb Eduardo Sepulveda : > > Hi, I am trying to decode a neo4j database which is in a format 2.1.4. i had > a lot of troubles doing it by myself, so is any that could help to get the > information that is inside de

Re: [Neo4j] save and restore database state

2016-05-17 Thread 'Michael Hunger' via Neo4j
What's your use-case? Michael > Am 17.05.2016 um 22:37 schrieb Jens Weber : > > Is there a way to save and restore neo4j graph database states (other than by > using transactions)? Of course, I know that there is a backup mechanism, but > I am looking for something faster,

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

2016-05-17 Thread 'Michael Hunger' via Neo4j
I saw this popping up today, but Nigel also wanted to add some support to py2neo afaik. https://twitter.com/py3k/status/732788101102374913 Michael > Am 17.05.2016 um 04:34 schrieb Jeff Ericson : > > I don't see much fresh data here or on SO. I tried to set up a new project

[Neo4j] save and restore database state

2016-05-17 Thread Jens Weber
Is there a way to save and restore neo4j graph database states (other than by using transactions)? Of course, I know that there is a backup mechanism, but I am looking for something faster, something that can be used programmatically. Flat nested transactions (as provided by neo4j) do not

Re: [Neo4j] Relationship property not stored

2016-05-17 Thread Luanne Coutinho
Hi Johan, I don't see why this should not be saved- do you have a small test to demonstrate the issue? Thanks Luanne On Wed, May 18, 2016 at 2:49 AM, Johan Kumps wrote: > Hi, > > I'm using this the RelationshipEntity below: > >

[Neo4j] Re: Advice on correct 2-instance setup is required

2016-05-17 Thread Dennis O
*RESOLVED* 1. Tutorial ( http://neo4j.com/docs/3.0.1/ha-setup-tutorial.html ) is somewhat misleading. Thanks to Dave from the neo4j's team for the info: you NEED to set ha.host.coordination and ha.host.data I'm in AWS. In my config these values are set to Internal instance IP, with 5001 port

[Neo4j] Anybody currently using Neo4j with Django?

2016-05-17 Thread Jeff Ericson
I don't see much fresh data here or on SO. I tried to set up a new project in Django (my preference) and ended up moving over to Flask. I miss the robust Django ecosystem for everything else, but using Django without the ORM is also a pain. Advice? -- You received this message because you

[Neo4j] decode noe4j database 2.1.4

2016-05-17 Thread Eduardo Sepulveda
Hi, I am trying to decode a neo4j database which is in a format 2.1.4. i had a lot of troubles doing it by myself, so is any that could help to get the information that is inside de neo4j folder? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To

[Neo4j] Neo4J query to do Group By on Nodes for same type of data

2016-05-17 Thread Docers Docy
0down votefavorite Following is what I created in Neo4j: Nodes: Customer Names, Customer Address and Customer Contact Linked these nodes based on common relationships between all three. Data

[Neo4j] Does the neo4j rest web service has a maximum url lenght for GET queries?

2016-05-17 Thread David Perez
Could you please answer this simple question? http://stackoverflow.com/questions/37283065/does-the-neo4j-webserver-have-a-maximum-url-lenght-for-get-queries -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop

[Neo4j] Relationship property not stored

2016-05-17 Thread Johan Kumps
Hi, I'm using this the RelationshipEntity below: @RelationshipEntity(type=Relationships.SEM_SIM) public class SemanticSimilarity { @GraphId private Long nodeId; @EndNode Capability fromService; @StartNode Capability toService; @Property(name="matchType") private String matchType; ... }

Re: [Neo4j] Shortest path using query

2016-05-17 Thread Craig Taverner
If you want the shortest path to interpret the length of the path based on a cost function (for example shortest route on the map where the length of the roads is the cost), then the 'shortestPath()' function is not the right one. It can only consider all relationships as having the same weight

Re: [Neo4j] Shortest path using query

2016-05-17 Thread Johan Kumps
What if I would like to get all shortest paths with the lowest cost without knowing how much this could be. I think by adding the query rel.cost < x will not work in this case? Op dinsdag 17 mei 2016 22:23:37 UTC+2 schreef Michael Hunger: > > Just add a WHERE clause (at least in Neo4j 3.x) > >

Re: [Neo4j] Shortest path using query

2016-05-17 Thread 'Michael Hunger' via Neo4j
Just add a WHERE clause (at least in Neo4j 3.x) WHERE ALL( rel in rels(path) WHERE rel.cost > 10) > Am 17.05.2016 um 15:19 schrieb Johan Kumps : > > Hi, > > I'm currently calculating the shortest paths between 2 nodes via the SEM_SIM > relationship using the following

[Neo4j] Shortest path using query

2016-05-17 Thread Johan Kumps
Hi, I'm currently calculating the shortest paths between 2 nodes via the SEM_SIM relationship using the following query: @Query("MATCH (s:StartVertex {uuid:{0}}) , " + "(g:GoalVertex {uuid:{1}}) , " + "path = shortestpath((s)-[:SEM_SIM*]-(g)) " + "RETURN path ORDER BY LENGTH(path) DESC LIMIT

Re: [Neo4j] Advice on correct 2-instance setup is required

2016-05-17 Thread Dennis O
Hi Yayati, *>> as a 3 Machine quorum is required for making a HA cluster* Looks like neo4j does not require a 3rd machine to function as follows from "...When running Neo4j in HA mode there is always a single master and zero or more slaves" on

[Neo4j] Re: Advice on correct 2-instance setup is required

2016-05-17 Thread Dennis O
*Update* To have max. consistency, I've replaced a previous Centos instance with a Debian-based, i.e. now I have 2 identical Debian instances. neo4j service is launching on the second one, however its debug log is filled with 2016-05-17 15:25:29.651+ ERROR