[Neo4j] Read-only transactions?

2010-07-28 Thread Tim Jones
Hi, Is it possible to mark a transaction as being read-only? It's taking a while for my transaction to shut down, even though there are no writes to commit. Thanks, Tim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Stumped by performance issue in traversal - would take a month to run!

2010-07-28 Thread Tim Jones
I can't give too much help on this unfortunately, but as far as possibility 1) goes, my database contains around 8 million nodes, and I traverse them in about 15 seconds for retrievals. It's 2.8GB on disk, and the machine has 4GB of RAM. I allocate a 1GB heap to the JDK. Inserts take a little

Re: [Neo4j] Problem-Solving with Graph Traversals (Presentation)

2010-07-26 Thread Tim Jones
Hi Marko, This looks great. But it's been so long since I did set theory or any proper maths that I can't read the symbols any more. In fact, I have had the same problem with every book on graph theory I've picked up recently. The slides would be clearer for me if each expression was

Re: [Neo4j] Problem-Solving with Graph Traversals (Presentation)

2010-07-26 Thread Tim Jones
/handouts/settheory.pdf sarcasimOr a copy of the APL documentation/... On 26 July 2010 11:04, Tim Jones bogol...@ymail.com wrote: Hi Marko, This looks great. But it's been so long since I did set theory or any proper maths that I can't read the symbols any more. In fact, I have

Re: [Neo4j] TimelineIndex usage

2010-07-23 Thread Tim Jones
Hi, I need to be able to retrieve nodes whose timestamps are greater than a particular time. I've been trying to use a TimelineIndex, but didn't realise that it was a persistent structure - I've written code that will create a new Timeline each time my application is

[Neo4j] Retrieving nodes by a time property (e.g. time now-20 minutes)?

2010-07-22 Thread Tim Jones
Hi, Each of my nodes has a 'time' property associated with it. Is there any way I can retrieve all nodes where 'time' is greater than a specific value? I can't see how to do this with a full-text index... Thanks, Tim ___ Neo4j mailing list

Re: [Neo4j] Retrieving nodes by a time property (e.g. time now-20 minutes)?

2010-07-22 Thread Tim Jones
, Isn't the Timeline-index available in your neo4j-version? It appears to give you just what you want: http://api.neo4j.org/1.0/org/neo4j/index/timeline/TimelineIndex.html Best regards, Arjen On 22-7-2010 11:23 Tim Jones wrote: Hi, Each of my nodes has a 'time' property associated

[Neo4j] Batch inserter shutdown taking forever

2010-07-21 Thread Tim Jones
Hi, I'm using a BatchInserter and a LuceneIndexBatchInserter to insert 5m nodes and 5m relationships into a graph in one go. The insertion seems to work, but shutting down takes forever - it's been 2 hours now. At first, the JVM gave me garbage collection exception, so I've set the heap to

[Neo4j] getProperty returning wrong value

2010-07-13 Thread Tim Jones
Hi, I'm traversing a Node set, calling getProperty on each node. However, the value returned is always '1', even if this isn't the value of the property. I've confirmed in neoclipse that one specific node has a 'count' property of 2, but when I debug my code, the value '1' is returned for that

Re: [Neo4j] getProperty returning wrong value

2010-07-13 Thread Tim Jones
tobias.ivars...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Sent: Tue, July 13, 2010 1:02:56 PM Subject: Re: [Neo4j] getProperty returning wrong value Where do you set the 'count' property? On Tue, Jul 13, 2010 at 12:37 PM, Tim Jones bogol...@ymail.com wrote: Hi, I'm

Re: [Neo4j] getProperty returning wrong value

2010-07-13 Thread Tim Jones
- Original Message From: Mattias Persson matt...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Sent: Tue, July 13, 2010 2:57:33 PM Subject: Re: [Neo4j] getProperty returning wrong value 2010/7/13, Tim Jones bogol...@ymail.com: No, how ever you group your read

Re: [Neo4j] How to traverse by the number of relationships between nodes?

2010-07-09 Thread Tim Jones
iterate over the Page relationships, creating an Array of relationships. Sort the array by your visit order property and you have the route cache. Step backwards through the route creating the route relationships as described before. Cheers, Craig On Thu, Jul 8, 2010 at 5:33 PM, Tim Jones bogol