I'm trying to load json documents into neo4j which has complex structure...I cannot use csv format...
Can someone please tell how to load 1000+ json documents using apoc?
I know how to load one document trying to find how to load in loop the 1000 documents
If you want to import from multiple JSON documents serially, you can do something like this (assuming that
urls
is passed to the Cypher query as a parameter):If it makes sense to perform the imports concurrently (e.g., there is no risk of deadlocks -- because different files would not write-lock the same set of relationships or nodes), you could consider using one of the APOC periodic execution procedures.