I’m running the following cypher query using neo4j-drivier in a nodejs app to several times (different combinations of each node label):
CALL apoc.periodic.iterate("
CALL apoc.load.json('file://{fileName}')
YIELD value AS line RETURN line
...
Thanks Andrew for the suggestion. The queries ran significantly faster after using WITH instead of FOREACH and removing the RETURN. I re-ran the queries using smaller batchsize of 500 but still failed with same error. The error seems to come up when ...
Thanks Andrew. That’s right, there are indexes on the label + property. I've also tried running with lower and higher batch size but still get the same error. Prior to these queries, the nodes are loaded first. So these queries are for loading the re...