On Wed, Nov 2, 2011 at 12:01 PM, Jacob Hansson <
[email protected]> wrote:

> Is there a complex reason why this is the case, and is it going to stay
> this way? It feels a bit counter-intuitive..


Cypher has no way of expressing uniqueness today. I think it should. I
think the current scheme is least surprising: it allows the foaf thing to
work without surprises:

MATCH me-[:FRIEND]->friend<-[:FRIEND]-foaf

This will not return yourself as a foaf. I think I would like to be able to
say:

MATCH me-[:FRIEND]->friend<-[:FRIEND]-foaf WITH NO UNIQUENESS/NODE
UNIQUENESS/RELATIONSHIP UNIQUENESS/IDENTIFIER UNIQUENESS

Or something like that. Identifier uniqueness would be the default. It's a
difficult concept, so I want the default to be as non-surprising as
possible.

This is one of the things that keep me up at night.

Andrés
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to