I have a list of words (strings). Using python3 and official neo4j driver I'm trying to create nodes. One node - one word from list.
Here is my code:
for word in lst:
query = "CREATE (" + word + ":Word {word:'" + word + "})"
session.run(query)
I can run it and it works for small amount of words. But if to increase size of list (like 100000) - neo4j creates only a part of nodes.
I suppose, it can't process in time my queries. Is there any solution to create a large number of nodes in my case?