Jure, for this, I think there is no explicit support in Neo4j. I guess you will have to iterate and build up an in-memory list of the unique RelTypes as you go. Anyone having a better idea?
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Mon, Nov 21, 2011 at 7:39 PM, Jure Zakotnik <j...@gmx.de> wrote: > Hi, > > it's the question, how to get the unique set of relationship properties in > the graph, without querying/traversing all of the properties. Since I can > only index nodes/relationships, the index API does not seem to be an option. > Example: 1M relationships, each of them having one of 10 properties (..but I > don't know the 10 properties in advance). > I'm happy if there's a simple query or solution that I just haven't found > yet :-) > > Regards, Jure > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/REST-api-get-list-of-all-relationship-properties-unique-tp3458852p3525603.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user