Re: [Neo4j] Indexed relationships

2011-07-10 Thread Craig Taverner
ode, but it > makes sense to at least have a batch loader for indexes. > Niels > P.S. Are you making any progress with the port of the RTree to > graph-collections? > > > Date: Sat, 9 Jul 2011 00:29:28 +0200 > > From: cr...@amanzi.com > > To: user@lists.neo4j.org &g

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Niels Hoogeveen
the RTree to graph-collections? > Date: Sat, 9 Jul 2011 00:29:28 +0200 > From: cr...@amanzi.com > To: user@lists.neo4j.org > Subject: Re: [Neo4j] Indexed relationships > > Not sure if this will be the same for you, but we were not able to use the > RTree in batch inserter

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Niels Hoogeveen
hael.hun...@neotechnology.com > Date: Sat, 9 Jul 2011 00:57:37 +0200 > To: user@lists.neo4j.org > Subject: Re: [Neo4j] Indexed relationships > > Can't you rebalance the tree by just marking nodes as deleted? (setting > properties or collecting their id's somewhere?) >

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Michael Hunger
t;>> >>>> On Fri, Jul 8, 2011 at 4:27 AM, Andrew White >> wrote: >>>>> I don't know if this is the right place to ask this; but does it >> support >>>>> a batch insert mode? When I am bulk loading data I don't have Node >&g

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Craig Taverner
hun...@neotechnology.com > > Date: Fri, 8 Jul 2011 09:56:30 +0200 > > To: user@lists.neo4j.org > > Subject: Re: [Neo4j] Indexed relationships > > > > But I'm not sure when in 1.5 this is going to be addressed. > > > > So if Niels could look at the effo

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Niels Hoogeveen
To: user@lists.neo4j.org > Subject: Re: [Neo4j] Indexed relationships > > But I'm not sure when in 1.5 this is going to be addressed. > > So if Niels could look at the effort needed and perhaps pair with Andrew on > getting this done (or at least give him some pointers to impl

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Michael Hunger
>> On 07/07/2011 06:19 PM, Niels Hoogeveen wrote: >>> I created a wiki page for indexed relationships in the Git repo, see: >>> https://github.com/peterneubauer/graph-collections/wiki/Indexed-relationships >>> >>>> From: michael.hun...@neotechnology.com >&

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Peter Neubauer
ub.com/peterneubauer/graph-collections/wiki/Indexed-relationships >> >>> From: michael.hun...@neotechnology.com >>> Date: Thu, 7 Jul 2011 22:53:05 +0200 >>> To: user@lists.neo4j.org >>> Subject: Re: [Neo4j] Indexed relationships >>> >>> Could you

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Andrew White
ationships in the Git repo, see: > https://github.com/peterneubauer/graph-collections/wiki/Indexed-relationships > >> From: michael.hun...@neotechnology.com >> Date: Thu, 7 Jul 2011 22:53:05 +0200 >> To: user@lists.neo4j.org >> Subject: Re: [Neo4j] Indexed relationsh

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
e: Thu, 7 Jul 2011 22:53:05 +0200 >> To: user@lists.neo4j.org >> Subject: Re: [Neo4j] Indexed relationships >> >> Could you put these code examples into the Readme for the project or on a >> wiki page? >> >> Am 07.07.2011 um 22:11 schrieb Niels Hoogeveen

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Niels Hoogeveen
nder(graphDb(), Direction.OUTGOING, > > RelTypes.INDEXED_RELATIONSHIP); > > > > for(Relationship rel: re1.expand(indexedNode)){ > > System.out.println(rel.getEndNode().getProperty("name")); > > } > > for(Relationship rel: re2.expand(indexedNod

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
ionships cannot support the getId() method,and will throw >> an UnsupportedOperationException when being called.IndexedRelationship will >> implement Iterable.With these changes, it is possible to >> create an Expander and I am working right now to implement that.Niels >> >&g

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Niels Hoogeveen
println(re2.getEndNode().getProperty("name")); } > From: pd_aficion...@hotmail.com > To: user@lists.neo4j.org > Date: Thu, 7 Jul 2011 16:55:36 +0200 > Subject: Re: [Neo4j] Indexed relationships > > > Hi Michael,I realize that the implementation of IndexedRelationship can in

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Niels Hoogeveen
; >> As to the name of the class. > >> It is essentially an indexed relationship, > >> and not just a solution to the densely-connected-node problem. > >> An indexed relationship can also be used to maintain > >> a sorted set of

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
ed.IndexedRelationship will > implement Iterable.With these changes, it is possible to create > an Expander and I am working right now to implement that.Niels > >> From: pd_aficion...@hotmail.com >> To: user@lists.neo4j.org >> Date: Thu, 7 Jul 2011 14:46:35 +0200 >> S

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Niels Hoogeveen
:35 +0200 > Subject: Re: [Neo4j] Indexed relationships > > > Hi Michael, > > I haven't yet worked on an example. > > There are tests for the SortedTree implementation, > but didn't add those to the IndexedRelationship class, > which is simply a wrapper arou

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Niels Hoogeveen
arantee unicity constraints. Niels > From: michael.hun...@neotechnology.com > Date: Thu, 7 Jul 2011 13:27:00 +0200 > To: user@lists.neo4j.org > Subject: Re: [Neo4j] Indexed relationships > > Good work, > > do you have an example ready (and/or some tests that show how it works

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
; relationship types in incoming direction. Of course this functionality is > also covered in the API. > Niels > >> From: pd_aficion...@hotmail.com >> To: user@lists.neo4j.org >> Date: Thu, 7 Jul 2011 02:36:29 +0200 >> Subject: Re: [Neo4j] Indexed relationsh

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Niels Hoogeveen
e: Thu, 7 Jul 2011 02:36:29 +0200 > Subject: Re: [Neo4j] Indexed relationships > > > Pushed SortedTree to Git after adding a unit test and doing some debugging. > TODO:Add API for indexed relationships using SortedTree as the > implementation.Make SortedTree thread safe. > W

Re: [Neo4j] Indexed relationships

2011-07-06 Thread Niels Hoogeveen
> Date: Tue, 5 Jul 2011 08:27:57 +0200 > From: neubauer.pe...@gmail.com > To: user@lists.neo4j.org > Subject: Re: [Neo4j] Indexed relationships > > Great work Nils! > > /peter > > Sent from my phone. > On Jul 4, 2011 11:39 PM, "Niels Hoogeveen" >

Re: [Neo4j] Indexed relationships

2011-07-04 Thread Peter Neubauer
>> From: pd_aficion...@hotmail.com >> To: user@lists.neo4j.org >> Date: Mon, 4 Jul 2011 15:49:45 +0200 >> Subject: Re: [Neo4j] Indexed relationships >> >> >> I forgot to add another recurrent issue that can be solved with indexed relationships: guaranteed unicity constr

Re: [Neo4j] Indexed relationships

2011-07-04 Thread Niels Hoogeveen
indexed relationships. (Community input still welcome).Write unit tests.Make SortedTree thread safe (Community help still welcome). Niels > From: pd_aficion...@hotmail.com > To: user@lists.neo4j.org > Date: Mon, 4 Jul 2011 15:49:45 +0200 > Subject: Re: [Neo4j] Indexed relationshi

Re: [Neo4j] Indexed relationships

2011-07-04 Thread Niels Hoogeveen
I forgot to add another recurrent issue that can be solved with indexed relationships: guaranteed unicity constraints. > From: pd_aficion...@hotmail.com > To: user@lists.neo4j.org > Date: Mon, 4 Jul 2011 01:55:08 +0200 > Subject: [Neo4j] Indexed relationships > > >

[Neo4j] Indexed relationships

2011-07-03 Thread Niels Hoogeveen
In the thread [Neo4j] traversing densely populated nodes we discussed the problems arising when large numbers of relationships are added to the same node. Over the weekend, I have worked on a solution for the dense-relationship-nodes using SortedTree in the neo-graph-collections component. After