Re: [Neo] Infinite recursion bug in SimpleIndexHits.java (LuceneIndexService.getNodes)

2010-01-19 Thread Mattias Persson
The "index-util" component has changed name to "index" (with the artifactId "neo4j-index") after our refactoring... so please considering using that instead (where this bug is fixed). But I'll fix this bug anyways, well spotted! 2010/1/20 Lachlan Cotter : > Hi all, > > > > I've just started workin

[Neo] Infinite recursion bug in SimpleIndexHits.java (LuceneIndexService.getNodes)

2010-01-19 Thread Lachlan Cotter
Hi all, I've just started working with Neo4j and I've run into a problem (bug?) with the indexing component. I did a simple test calling getNodes() on a LuceneIndexService instance. This results in a stack overflow error caused by apparently infinite recursion in SimpleIndexHits. When I d

Re: [Neo] Import/export

2010-01-19 Thread Rick Bullotta
There is really no "natural" way to express complex graphs (something more than hierarchal) in something like XML or JSON, but it can be done as long as each entity has a unique identification of some kind (e.g. GraphML's IDs). Barring any reason not to, it would seem that GraphML would be the mos

Re: [Neo] Import/export

2010-01-19 Thread Rick Bullotta
Yes, there is a need, and to make it work, we needed to work out the technical details! It was sheer coincidence, but I wrote code for this exact use case yesterday. I'm using an xml file as the source for prepopulating our neo structures. It is very domain specific, however, therefore much o

Re: [Neo] Import/export

2010-01-19 Thread Craig Taverner
I was wondering if the neo-shell or the neo4j.rb in IRB would solve this requirement (easily creating or loading some initial graph). I have not played much with the shell, but know that it has commands for making nodes and relationships. But I think it is best for interactive work, and I think it