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

2010-07-28 Thread Tim Jones
> > I turned off log rotation and I commit after each item A. Reading it again, I think this is the most likely culprit, especially if you only have 7500 items. Try everything in a single transaction. - Original Message > From: Tim Jones > To: Neo4j user discussions

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

[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 https://lists.neo4j.org/mai

Re: [Neo4j] Batch inserter shutdown taking forever

2010-07-28 Thread Tim Jones
7;m basically removing duplicate nodes based on an attribute, so I need to build an in-memory look-up table to recognise whether I've seen a particular node before). I'll change the traverser like you suggest and see if this improves. Thanks > > 2010/7/26 Tim Jo

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

2010-07-26 Thread Tim Jones
- Original Message > From: Marko Rodriguez > To: Neo4j user discussions > Sent: Mon, July 26, 2010 2:51:41 PM > Subject: Re: [Neo4j] Problem-Solving with Graph Traversals (Presentation) > > Hello, > > > The slides would be clearer for me if each expression was paraphrased in >Eng

Re: [Neo4j] Batch inserter shutdown taking forever

2010-07-26 Thread Tim Jones
as Persson > To: Neo4j user discussions > Sent: Sat, July 24, 2010 10:23:02 PM > Subject: Re: [Neo4j] Batch inserter shutdown taking forever > > 2010/7/21 Tim Jones > > > Hi, > > > > I'm using a BatchInserter and a LuceneIndexBatchInserter to insert

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

2010-07-26 Thread Tim Jones
fx.net/handouts/settheory.pdf > > > > Or a copy of the APL documentation > > > > > > On 26 July 2010 11:04, Tim Jones wrote: > > > >> Hi Marko, > >> > >> This looks great. But it's been so long since I did set theory or any >

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 paraphrase

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 app

[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 instantiated, and it's com

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

2010-07-22 Thread Tim Jones
imeline-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 w

[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

[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

Re: [Neo4j] getProperty returning wrong value

2010-07-13 Thread Tim Jones
- Original Message From: Mattias Persson To: Neo4j user discussions Sent: Tue, July 13, 2010 2:57:33 PM Subject: Re: [Neo4j] getProperty returning wrong value 2010/7/13, Tim Jones : > No, how ever you group your read operations it returns correct values, > so it feels qui

Re: [Neo4j] getProperty returning wrong value

2010-07-13 Thread Tim Jones
s Ivarsson To: Neo4j user discussions 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 wrote: > Hi, > > I'm traversing a Node set, calling getP

[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] How to traverse by the number of relationships between nodes?

2010-07-09 Thread Tim Jones
ationships, 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 wrote: > Hi Craig, thanks fo

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

2010-07-08 Thread Tim Jones
Hi Craig, thanks for your answer. What's your approach that would allow me to specify the destination node at analysis time? I'd like to retain the flexibility to do this too. Thanks Tim - Original Message From: Craig Taverner To: Neo4j user discussions Sent: Thu, July 8, 2010 12:0

Re: [Neo4j] API request

2010-07-08 Thread Tim Jones
( . ); LuceneIndexBatchInserter index = new LuceneIndexBatchInserterImpl( inserter ); index.getBatchInserter(); 2010/7/8 Tim Jones > Hi, > > Yes, it's to avoid having to pass around both the batch inserter and the > index. > A lot of other APIs provide access to underl

Re: [Neo4j] API request

2010-07-08 Thread Tim Jones
Hi, Yes, it's to avoid having to pass around both the batch inserter and the index. A lot of other APIs provide access to underlying data structures. Thanks, Tim - Original Message From: Mattias Persson To: Neo4j user discussions Sent: Thu, July 8, 2010 2:09:26 PM Subject: Re: [Neo