Re: [Neo4j] traversal framework question

2010-12-07 Thread Mattias Persson
Hi Joshi, the problem may be that your traversal description will traverse from actor to director (in both directions) and also from director to actors (also in both directions). Your "manual" traverser traverses actors to directors in both directions and then only incoming relationships from dir

Re: [Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Mattias Persson
2010/12/7, Andres Taylor : > On Tue, Dec 7, 2010 at 1:54 PM, Mattias Persson > wrote: > > >> The (new) integrated index API cleans up deleted nodes/relationships that >> are left behind automatically and lazily (at least the lucene impl does) >> so >> no worries for the index part at least. >> > >

Re: [Neo4j] Cats and Dogs, living together

2010-12-07 Thread Javier de la Rosa
On Tue, Dec 7, 2010 at 10:39, Peter Neubauer wrote: > There is a strong desire for having some graph visualization in the > Neo4j Admin console, so - if you think it is interesting, I think > there might be a strong case for the projects working together on the > visualization component. I don't h

Re: [Neo4j] Performance DB with large datasets

2010-12-07 Thread Marius Kubatz
Hi, there is still no difference in the performance, which is somewhat disturbing. I cant't see the allocation of nioneo memory mapping in the java process at all. It goes up to the heap size and then stops there. Marius 2010/12/7 Marius Kubatz : > Hi Peter, > > thank you very much for your qui

Re: [Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Andres Taylor
On Tue, Dec 7, 2010 at 1:54 PM, Mattias Persson wrote: > The (new) integrated index API cleans up deleted nodes/relationships that > are left behind automatically and lazily (at least the lucene impl does) so > no worries for the index part at least. > Unless you are unlucky, and the index point

Re: [Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Adam Mendlik
I have the same requirements on a project I'm working on. What I did was use an abstract wrapper class for Node that helps with deletion. protected final Node underlyingNode; protected boolean isDeleted; public boolean isDeleted() { return isDeleted; } public void delete() { Iterable rels =

[Neo4j] traversal framework question

2010-12-07 Thread Joshi Hemant - hjoshi
I have graph of 2 types of nodes : actors and directors. The graph is constructed such that an actor may have worked with multiple directors and the director may have worked with different actors. The objective is to find the list of actors (sorted by frequency) who have shared the most number of d

Re: [Neo4j] Cats and Dogs, living together

2010-12-07 Thread Peter Neubauer
Javier, thanks for the feedback! There is a strong desire for having some graph visualization in the Neo4j Admin console, so - if you think it is interesting, I think there might be a strong case for the projects working together on the visualization component. I don't have the timeframe laid out

Re: [Neo4j] Cats and Dogs, living together

2010-12-07 Thread Javier de la Rosa
On Mon, Dec 6, 2010 at 16:57, Peter Neubauer wrote: > Very very cool Javier! Thank you :) > Is this built using the Neo4j Python bindings or pure REST? Also, is > there a public website available to refer to? By now we are using only REST, but the performance is not what we expected when we pro

Re: [Neo4j] Problem with the lucene index

2010-12-07 Thread Javier de la Rosa
On Tue, Dec 7, 2010 at 07:10, Peter Neubauer wrote: > Hi there, > while Matthias is right in that the current REST API is exposing the > old Index API, for the next Milestone we are working on server > extensions which can execute Java and even Script code against the > running Server database ins

Re: [Neo4j] Performance DB with large datasets

2010-12-07 Thread Marius Kubatz
Hi Peter, thank you very much for your quick reply, unfortunately there is no messages.log, seems I have an older db version. I'm sending you the ls dump from the directory: total 5318580 11 active_tx_log 4096 lucene 4096 lucene-fulltext 27 neostore 9 neostore.id 34954011 neostore.nodestore

Re: [Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Chris Gioran
On Tue, Dec 7, 2010 at 3:09 PM, Andreas Ronge wrote: > An Node#isDeleted() method would also be fine. The way I see it, there are two concerns here. The first is focused at the lower levels, where the WriteTransaction/LockReleaser discover an illegal operation - deletion of an already deleted pri

Re: [Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Andreas Ronge
An Node#isDeleted() method would also be fine. On Tue, Dec 7, 2010 at 1:54 PM, Mattias Persson wrote: > 2010/12/7 Andreas Ronge > >> Hi >> >> I want to avoid keeping track if a node has been deleted or not. >> How can I implemented this ? >> >> I tried to simply catch the exception but then I c

Re: [Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Mattias Persson
2010/12/7 Andreas Ronge > Hi > > I want to avoid keeping track if a node has been deleted or not. > How can I implemented this ? > > I tried to simply catch the exception but then I can't commit the > transaction. > > Node node = db.createNode() > try { >node.delete() >node.delete() >

[Neo4j] How to delete a node when it's already deleted ?

2010-12-07 Thread Andreas Ronge
Hi I want to avoid keeping track if a node has been deleted or not. How can I implemented this ? I tried to simply catch the exception but then I can't commit the transaction. Node node = db.createNode() try { node.delete() node.delete() } catch { } tx.success tx.finish // BAN

Re: [Neo4j] Problem with the lucene index

2010-12-07 Thread Peter Neubauer
Hi there, while Matthias is right in that the current REST API is exposing the old Index API, for the next Milestone we are working on server extensions which can execute Java and even Script code against the running Server database instance and return both node, path, relationship and custom repre

Re: [Neo4j] Performance DB with large datasets

2010-12-07 Thread Peter Neubauer
Marius, could you send the size of the store files, the number of nodes/relationships and your current neo4j.properties you are running with? Examples and details are at http://wiki.neo4j.org/content/Configuration_Settings and http://docs.neo4j.org/html/milestone/#_configuration_amp_performance Th

[Neo4j] Performance DB with large datasets

2010-12-07 Thread Marius Kubatz
Hi, I'm conducting experiments with two databases and have noticed a radical performance drop when dealing with large databases. I am working with dense triadic datasets, consisting of three node types: A,B,C and hyperedges Y. Basically one hyperedge y := (a,b,c) is stored in the db as 3 neo4j rel

Re: [Neo4j] Problem with the lucene index

2010-12-07 Thread Mattias Persson
Unfortunately the REST API isn't on par with the new index api, so REST exposes the old IndexService. This will be fixed soon. 2010/12/7 Kaan Meralan > Hi, > > Nowadays I am playing with Neo4j (neo4j-1.2.M04) and I have some problems > with the lucene indexing. > > So I construct a graph (via ba

Re: [Neo4j] Problem compiling neo4j-rdf-sail

2010-12-07 Thread Mattias Persson
2010/12/7, Schmidt, Dennis : > Hey Mattias, > > It really seems to be something connected with at least my Windows (7). I > used "mvn package" as well as "mvn clean install" and neither one worked. So > after your mail I tried everything again on my Mac, and there we go. > Compiled flawlessly and w