Re: [Neo] BatchInserter.java fails

2010-03-09 Thread Mattias Persson
So, for the record: The application was run on an NFS based file system and Neo4j doesn't support that since NFS doesn't support file locking. Locking is required in the implementation of the logical logs so that it can make sure only one thread/process writes to it at any given time. 2010/3/1

Re: [Neo] Java outof 64 GB ram

2010-03-09 Thread Miguel Ángel Águila Lorente
Ok, here is the final code. First of all, i walk around all the nodes and edges, and finally I do a Traverse for storing some information. //Query 1 public static void getNodeMaxOutDegreeNeo(final EmbeddedGraphDatabase neo, final IndexService indexService) { Node idNode;

Re: [Neo] Java outof 64 GB ram

2010-03-09 Thread Peter Neubauer
Mike, great you had configuration working out! Your graph is quite big so an exhaustive walk will take some time. Still I suspect that 9h is quite long for this. Do you have the code somewhere so we could take a look at maybe get performance up a notch? Cheers, /peter neubauer COO and Sales,

[Neo] neo4j.py

2010-03-09 Thread Erik Ask
Hello Some questions about the py wrapper (neo is my database created with neo4j.NeoService) 1) indx=neo.index('some_index') and indx=neo.index('some_index',create=True) has illogical behaviour. According to the docs the first variety returns an error (Keyerror i believe) should the index not

Re: [Neo] Nodes commonly connected to a set of predefined nodes in a graph

2010-03-09 Thread Tobias Ivarsson
When I first saw this questions my reaction was this is graph matching. Sadly our graph-matching component didn't support multiple anchor nodes. Now it does. So one way you would do this now is: PatternNode p1 = new PatternNode(); p1.setAssociation( n1 ); PatternNode p2 = new PatternNode();