Re: [Neo4j] SpringDataNeo4j 2.0 Supernode navigation
With this branch you have expected getRelationships time regardless of how many other relationships that node also has got, since only the relationships that you request are loaded (based on type and direction). You can also get an accurate relationship count (even for a given relationship type and direction) as an O(1) operation. 2012/1/15 Peter Neubauer peter.neuba...@neotechnology.com Agelos, supernode support for these cases will be handled below SDN. Mattias has been spiking this in https://github.com/neo4j/community/tree/super-node-support but we have had no time to merge this in, since the QA on store changes is non-trivial. Cheers, /peter neubauer Google:neubauer.peter Skype: peter.neubauer Phone: +46 704 106975 LinkedIn: http://www.linkedin.com/in/neubauer Twitter:@peterneubauer Tungle:tungle.me/peterneubauer brew install neo4j neo4j start heroku addons:add neo4j On Thu, Jan 12, 2012 at 8:22 PM, Agelos Pikoulas agelos.pikou...@gmail.com wrote: Hello everyone, just watched Michael Hunger on the Spring Data Neo4j webinar - thanks Michael. Now to the question, its an old problem - the supernode relationship navigation: Assume a *Movie *node has N.000.000 incoming *LIKES *from *User *nodes, but only a few incoming *ACTS_IN *from *Actor* nodes. How would we navigate in SDN from *Movie *onto these *ACTS_IN *relationships *Actor *nodes via an indexed relationship (eg IndexedRelationShipExpander), without stumping onto those 1M *LIKES *relationships that will put a huge delay on us ? Regards Agelos ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] SpringDataNeo4j 2.0 Supernode navigation
Agelos, supernode support for these cases will be handled below SDN. Mattias has been spiking this in https://github.com/neo4j/community/tree/super-node-support but we have had no time to merge this in, since the QA on store changes is non-trivial. Cheers, /peter neubauer Google: neubauer.peter Skype: peter.neubauer Phone: +46 704 106975 LinkedIn: http://www.linkedin.com/in/neubauer Twitter: @peterneubauer Tungle: tungle.me/peterneubauer brew install neo4j neo4j start heroku addons:add neo4j On Thu, Jan 12, 2012 at 8:22 PM, Agelos Pikoulas agelos.pikou...@gmail.com wrote: Hello everyone, just watched Michael Hunger on the Spring Data Neo4j webinar - thanks Michael. Now to the question, its an old problem - the supernode relationship navigation: Assume a *Movie *node has N.000.000 incoming *LIKES *from *User *nodes, but only a few incoming *ACTS_IN *from *Actor* nodes. How would we navigate in SDN from *Movie *onto these *ACTS_IN *relationships *Actor *nodes via an indexed relationship (eg IndexedRelationShipExpander), without stumping onto those 1M *LIKES *relationships that will put a huge delay on us ? Regards Agelos ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] SpringDataNeo4j 2.0 Supernode navigation
Hello everyone, just watched Michael Hunger on the Spring Data Neo4j webinar - thanks Michael. Now to the question, its an old problem - the supernode relationship navigation: Assume a *Movie *node has N.000.000 incoming *LIKES *from *User *nodes, but only a few incoming *ACTS_IN *from *Actor* nodes. How would we navigate in SDN from *Movie *onto these *ACTS_IN *relationships *Actor *nodes via an indexed relationship (eg IndexedRelationShipExpander), without stumping onto those 1M *LIKES *relationships that will put a huge delay on us ? Regards Agelos ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user