Re: [Neo] Indexing Relationships?

2010-05-20 Thread Mattias Persson
:36 +0200 To: user@lists.neo4j.org Subject: Re: [Neo] Indexing Relationships? There is no indexing component for Relationships and there has never been one. The interesting question that you should have asked is: _will_ there ever be one. The answer to that question is: maybe

Re: [Neo] Indexing Relationships?

2010-05-20 Thread Mattias Persson
: tobias.ivars...@neotechnology.com Date: Sat, 15 May 2010 13:32:36 +0200 To: user@lists.neo4j.org Subject: Re: [Neo] Indexing Relationships? There is no indexing component for Relationships and there has never been one. The interesting question that you should have asked is: _will_

Re: [Neo] Indexing Relationships?

2010-05-16 Thread Alex D'Amour
:32:36 +0200 To: user@lists.neo4j.org Subject: Re: [Neo] Indexing Relationships? There is no indexing component for Relationships and there has never been one. The interesting question that you should have asked is: _will_ there ever be one. The answer to that question is: maybe

Re: [Neo] indexing relationships

2009-07-09 Thread Johan Svensson
On Tue, Jul 7, 2009 at 5:15 PM, Symeon (Akis) Papadopoulospapa...@iti.gr wrote: Johan Svensson wrote: What we keep forgetting is that the graph already is the index. A well designed graph will often check if a specific relationship exist between two nodes just as fast as asking an already

Re: [Neo] indexing relationships

2009-07-07 Thread Symeon (Akis) Papadopoulos
Was that what you meant? My interpretation of Symeons request was an index from (RelationshipType,Node,Node) to Relationship, which in my opinion would be much more useful than a simple index from (String,primitive) to Relationship, which is how the node indexes work. That was exactly

Re: [Neo] indexing relationships

2009-07-07 Thread Mattias Persson
2009/7/7 Symeon (Akis) Papadopoulos papa...@iti.gr: Was that what you meant? My interpretation of Symeons request was an index from (RelationshipType,Node,Node) to Relationship, which in my opinion would be much more useful than a simple index from (String,primitive) to Relationship, which

Re: [Neo] indexing relationships

2009-07-07 Thread Tobias Ivarsson
On Tue, Jul 7, 2009 at 10:12 AM, Symeon (Akis) Papadopoulos papa...@iti.grwrote: Perhaps the lookup method should have an additional argument specifying whether the relationship is directed or not. Good point, but I think it's better to add a specific method for that kind of lookup:

Re: [Neo] indexing relationships

2009-07-07 Thread Johan Svensson
Hello, We have discussed this and given it some thought before. I think having a global index on (node1,node2,relationship) will not work well. Just managing that index will slow down relationship create and delete a lot. What we keep forgetting is that the graph already is the index. A well

Re: [Neo] indexing relationships

2009-07-07 Thread Symeon (Akis) Papadopoulos
Johan Svensson wrote: Hello, We have discussed this and given it some thought before. I think having a global index on (node1,node2,relationship) will not work well. Just managing that index will slow down relationship create and delete a lot. I agree. That's why, as Tobias noted in a

Re: [Neo] indexing relationships

2009-07-06 Thread Peter Neubauer
Hi Symeon, so, what you are saying is that you would like to have the possibility to set indexes on relationships and their properties just like on the nodes as in http://components.neo4j.org/index-util/ ? I guess that would be easy to do, or you could do it yourself by looking at the index-util

Re: [Neo] indexing relationships

2008-08-10 Thread Anders Nawroth
Hi! As the relationships are a core strength of neo4j, this would be a nice addition to the index API. In the current IMDB example data model the roles are modeled as relationships and at the moment not searchable (which they really should be). So I have a use case for this! There are