Re: [Neo] Lucene Index Corruption?

2009-12-10 Thread Johan Svensson
Hi Adam, On Wed, Dec 9, 2009 at 4:37 PM, Adam Rabung adamrab...@gmail.com wrote: 1. This iterator will just prevent duplicates from being returned from the iterator?  If there's a condition (bug in my code) that causes shutdown w/ open transactions, will the Lucene indexes continue to double

Re: [Neo] Noob questions/comments

2009-12-10 Thread Johan Svensson
Hi Rick, On Wed, Dec 9, 2009 at 4:54 PM, Rick Bullotta rick.bullo...@burningskysoftware.com wrote: Questions: -          If you delete the reference node (id = 0), how can you recreate it? Being able to delete the reference node can sometimes be a problem but I have not come up with a good

Re: [Neo] Troubleshooting performance/memory issues

2009-12-10 Thread Johan Svensson
Hi, The logical log stores all transactions and will rotate itself at a configurable value (default 10MB). Once the log is rotated data will be flushed to the store files so we only have to perform recovery on the latest log file in case of a crash. Any running transaction will be copied from the

Re: [Neo] I/O load in Neo during traversals

2009-12-10 Thread Johan Svensson
This probably (again) has to do with OS and file system in use. If the string store is larger than assigned memory for it (see http://wiki.neo4j.org/content/Neo_Performance_Guide#Tuning_memory_mapped_I.2FO) depending on access patterns the memory will be spread out over the store (so a read/write

Re: [Neo] LuceneIndexBatchInserter doubt

2009-12-10 Thread Mattias Persson
To continue this thread in the user list: Thanks Núria, I've gotten your samples code/files and I'm running it now to try to reproduce you problem. 2009/12/9 Núria Trench nuriatre...@gmail.com: I have finished uploading the 4 csv files. You'll see an e-mail with the other 3 csv files packed in

Re: [Neo] I/O load in Neo during traversals

2009-12-10 Thread Rick Bullotta
Thanks for the great info, Johan. To answer one of your questions, yes, we are running on Windows (currently a requirement). -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Johan Svensson Sent: Thursday, December 10, 2009 6:56 AM

Re: [Neo] Noob questions/comments

2009-12-10 Thread Rick Bullotta
Hi, Jakub. Yes, it would be our intent to open source any viewer that we end up creating. Rick -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jakub Kotowski Sent: Thursday, December 10, 2009 6:46 AM To: Neo user discussions

Re: [Neo] Noob questions/comments

2009-12-10 Thread Craig Taverner
I'd like to comment on the question of indexing event logs. We are also dealing with event logs and we query them based on time windows as well as other properties. In our case they are also located on a map, and categorized using event types. So we have three types of indexes in use: - time

Re: [Neo] Noob questions/comments

2009-12-10 Thread Rick Bullotta
Awesome inputs, Craig. That's very similar to how we were considering it - the indexing part is the piece that I'm having a tough time getting my head around. If I had a timeline-oriented index, I'd need to: a) Find the start point (either start time for a forward-oriented traversal or end time

Re: [Neo] Noob questions/comments

2009-12-10 Thread Craig Taverner
Hi Nick, Your system sounds super-cool. Must be fun and challenging to deal with the clustering issues as well. We have though a little about this for future projects but have no immediate needs. I have some further comments regarding the balance you need to strike between index search speed and

[Neo] SingleValueIndex org.neo4j.api.core.NotFoundException: More than one relationship

2009-12-10 Thread Arin Sarkissian
Hey guys, I'm pretty new to Neo4j, especially the indexing stuff. Here's my situation. I want to be able to get nodes via one of their properties; in this case let's say the Nodes represent a user I want to be able to grab a User's node via their username. So, my initial attempt may be naive

[Neo] Ordering of getRelationships

2009-12-10 Thread Adam Rabung
Hi, I was wondering if there are any guarantees about the order of relationships that come out of Node.getRelationships? In my test case (attached) it seems they come out in creation date, ascending order, until you close and re-open the database. After the database is reopened, it seems like

Re: [Neo] Lucene Index Corruption?

2009-12-10 Thread Adam Rabung
Hi, Thanks for all of the information. Of course the #1 solution to this problem is to ensure all transactions are closed before shutdown is called. I am trying to implement some kind of failsafe in the case that some unforeseen problem/bug causes transactions to remain open. What do you think

Re: [Neo] Ordering of getRelationships

2009-12-10 Thread Rick Bullotta
AFAIK, no guarantees on ordering, thus the reason for the indexing utilities. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Adam Rabung Sent: Thursday, December 10, 2009 5:15 PM To: Neo user discussions Subject: [Neo] Ordering of

Re: [Neo] Representing graph using raphaelJS

2009-12-10 Thread Matt Johnston
I haven't tried raphael, but I am working on creating a way to display the graph in SVG, which raphael uses. SVG could easily be used online (through raphael or svgweb) and also converted to PDF for offline usage. My approach is to write a simplified SVG library instead of using Batik and display