Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
Hello! Thanks for a fantastic product.
I've been seeing a lot of suggested queries in the learning material and the in-browser exercises that leads to the warning "This query builds a cartesian product between disconnected patterns". This causes some confusion IMO and should be fixed to promote best practices.
For example in Exercise 11.13:
Use MERGE
to create the DIRECTED relationship between Robert Zemeckis and the Movie , Forrest Gump .
MATCH (p:Person), (m:Movie)
WHERE p.name = 'Robert Zemeckis' AND m.title = 'Forrest Gump'
MERGE (p)-[:DIRECTED]->(m)
I'm new to neo and cypher so I'm not certain if the warning is a false-positive in this case or it's actually a problem. But either the warning should be fixed or the query should be changed so it's not confusing to beginners.