Thank you for this clarification. I was confused by the statement:

When using MERGE on full patterns, the behavior is that either the whole 
pattern matches, or the whole pattern is created. MERGE will not partially 
use existing patterns — it’s all or nothing. If partial matches are needed, 
this can be accomplished by splitting a pattern up into multiple MERGE
 clauses.

This seemed to be a 'partial' match since the nodes matched but the 
relationship did not. So I thought that since the relationship didn't match 
the whole pattern or 'all' didn't match so both nodes would be created 
along with the relationship. I was hoping it would work as you described. 

Thanks again.


On Tuesday, April 15, 2014 2:58:16 PM UTC-5, Michael Hunger wrote:
>
> That's what merge does
>
> I guess the real problem that I am running into that I hope someone can 
> help me with is how do I conditionally create a relationship (something 
> like MERGE) when both of the nodes are known to exist?
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to