Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-01-2022 06:09 AM
Hie,
I am having a csv like (a sample created to state my data)
Thanks in advance.
02-01-2022 10:12 AM
Post the MERGE cypher you're using to create this.
A common slight error with merge is that it merges the full unique pattern. So if you're merging longer paths, you can end up with duplicates if sub-paths (like 12 to 7 here) occur in multiple different longer paths.
A solution is to break down your load into a set of pairwise relationships; think about always merging (a)-[:r]->(b)
and don't write merges like (:a)-[:r]->(b)-[:r]->(c)
because it could duplicate the a-b relationship
02-01-2022 08:37 PM
The Cypher query i used
02-01-2022 09:01 PM
Using create instead of merge helped me solve the issue, but now i have unique nodes for all like
All the sessions of the conference are now available online