Hi everyone, I'm new to Neo4j and this community. I have a question about 
Neo4j and I hope this is the right place to ask it.

As an exercise, I've created a graph of about 50k nodes. I now realize that 
I should have modeled the data differently, so I've been trying to make 
bulk updates to the graph. In particular, I need to add a large number of 
relationships to my graph. I've been trying to do things like

match (c:Card), (p:Printing {Name:c.Name})
merge (p)-[:PRINTING_OF]->(c)

But this seems wildly inefficient (there are tens of thousands of Cards and 
tens of thousands of printings). What I'm trying to express is, "'Join' 
cards with printings on their Name properties, and create relationships 
between the related nodes."

Is there a better way?

Thanks in advance,
Joe

-- 
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