[Neo4j] Is it possible to have relationship attributes?

2011-11-23 Thread Stefan Arentz
Is it possible to add attributes to relationships? I would like to for example have a relationship like Person VISITED Building but then add a timestamp or additional attributes to the VISITED relationship between those two nodes. If this is not supported, what is a good alternative in the

Re: [Neo4j] Is it possible to have relationship attributes?

2011-11-23 Thread Rick Bullotta
PM To: user@lists.neo4j.org Subject: [Neo4j] Is it possible to have relationship attributes? Is it possible to add attributes to relationships? I would like to for example have a relationship like Person VISITED Building but then add a timestamp or additional attributes to the VISITED relationship

Re: [Neo4j] Is it possible to have relationship attributes?

2011-11-23 Thread Stefan Arentz
On 2011-11-23, at 12:35 PM, Rick Bullotta wrote: Absolutely. And fairly unique to Neo4J. Plus you can even index and traverse relationships on those attributes (properties)! Yeah, I should have gone straight to the JavaDoc. Good to see that Relationship is a PropertyContainer. I was

Re: [Neo4j] Is it possible to have relationship attributes?

2011-11-23 Thread Andreas Kollegger
Absolutely. And fairly unique to Neo4J. Plus you can even index and traverse relationships on those attributes (properties)! Yeah, I should have gone straight to the JavaDoc. Good to see that Relationship is a PropertyContainer. I was confused because the introduction documentation

Re: [Neo4j] Is it possible to have relationship attributes?

2011-11-23 Thread Andreas Kollegger
I think you're right, Anders. With the page splits, it makes sense to reiterate. (abk) On Nov 23, 2011, at 10:15 AM, Anders Nawroth wrote: Sure, that information is only on the nodes page now I think ... should be on the relationships and properties pages as well of course. Thanks for the