[Neo4j] Programmatically safeguarding against heap issues

2014-05-30 Thread John Fry
Hello all, I hope this question is relevant to this community. Please let me know. The question is along the lines of how do you avoid unexpected heap issues or garbage collection thrashing that causes 'timeouts' when handling large graphs. The application I am trying to write depends on ~11M

[Neo4j] neo4j and mongodb

2014-05-30 Thread Alex Frieden
Has anyone built any well supported frameworks (and have examples) of using neo4j 2 and mongodb together? 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

Re: [Neo4j] Re: Google Summer of Code Spatial Cypher Project

2014-05-30 Thread Peter Neubauer
Very cool William, Thanks for keeping us updated on your progress! /peter (snt)-[:frm]-(phn) On May 30, 2014 10:40 PM, William Lyon lyo...@gmail.com wrote: Hi Everyone- My Week 2 progress report is available here: https://github.com/johnymontana/neo4j/wiki/week2 This week I implemented a

[Neo4j] Disable http communication

2014-05-30 Thread Chaofeng
Hi all, I was wondering if there is any way to disable the http communication but allow https access. Also, does neo4j-shell communicate remotely via http or https? If it does via http, is there any way to switch to https? Thank you! -- You received this message because you are subscribed

[Neo4j] Neo4j 1.9.7 Java heap space

2014-05-30 Thread sunyulovetech
Hi there, I use the neo4j 1.9.7 enterprise version. Now I need to delete some graph. Following that : START node=node(12346L) MATCH node - [r2:FOWARD] - user - [r3] - user2 DELETE r3 WITH node,user DELETE user WITH node MATCH node - [r1] - user1 DELETE r1 WITH node DELETE node When the data

Re: [Neo4j] Possible to create New database?

2014-05-30 Thread Michael Hunger
Neo4j is a full database, you can clean your database easiest by stopping the server, deleting the data/graph.db directory and restarting. Or by a cypher query like this: MATCH (n) OPTIONAL MATCH (n)-[r]-() DELETE n,r There are also some tools which support multiple neo4j databases, if you're

Re: [Neo4j] Disable http communication

2014-05-30 Thread Richard L. Burton III
I typically run Neo4J behind Nginx. I have Neo4j listening to the local IP address. On Fri, May 30, 2014 at 7:18 PM, Chaofeng z.chaofen...@gmail.com wrote: Hi all, I was wondering if there is any way to disable the http communication but allow https access. Also, does neo4j-shell

Re: [Neo4j] Disable http communication

2014-05-30 Thread Michael Hunger
Neo4j-shell communicates via Java-RMI, you can disable the shell by setting enable_remote_shell=false in neo4j.properties Probably easiest to filter https by not allowing it via a firewall rule? Or using a filter. Michael On Sat, May 31, 2014 at 1:18 AM, Chaofeng z.chaofen...@gmail.com wrote:

[Neo4j] Re: Programmatically safeguarding against heap issues

2014-05-30 Thread John Fry
Hi All, here is an example of the problems I am having. graph is ~11M nodes; ~100M rels. The graph is densely connected with outdegrees in the range 5-30. The query below hits the heap limit quickly and thrashes the GC. Any advice? Regards, John START a=node(41789), b=node(1513155) MATCH

Re: [Neo4j] Re: Programmatically safeguarding against heap issues

2014-05-30 Thread Michael Hunger
I think what you wanted to do was to set an upper limit? START a=node(41789), b=node(1513155) MATCH p=(a)-[*..2]-(b) return p; and perhaps even: START a=node(41789), b=node(1513155) MATCH p=shortestPath((a)-[*..2]-(b)) return p; Otherwise without limits Cypher goes off for you finding all the

Re: [Neo4j] Programmatically safeguarding against heap issues

2014-05-30 Thread Michael Hunger
It depends on what you want to do with the data? By default cypher uses BFS for path finding which will acummulate a lot of state (backtracking). I think you'll be much better off with the Java API and/or the Traversal-API for your needs. But you should be clear on how you want to process the