Significance of using " , " in neo4j multiple relationships cypher query

This is a subtle point. The comma between two match clauses creates a cartesian product, which can be very expensive. That is:

MATCH condition1, condition2
...

creates every possible combination of conduction1 and conduction2.

But if you do:

MATCH condition1
MATCH condition2
...

you don't get a cartesian product.

For more info, see: