bin/neo4j-shell -file import.cypher (in the zip / tar.gz download)

separate the commands with semicolons.


you can use "begin" "commit" on separate lines to control transactions.

Please note that there is a bug with periodic commit in Neo4j shell in versions 
3.0 and 3.0.1

It's fixed in 3.1.M02 and the upcoming 3.0.2


> Am 27.05.2016 um 21:02 schrieb Diaa ElKott <[email protected]>:
> 
> Thanks for your response, Sukaant. I actually don't want to learn new tools 
> to perform this job. I am thinking there must exist a way to store the Cypher 
> queries in text files, and then execute these queries somehow; perhaps using 
> a shell command? I will search in that direction.
> 
> Thanks again for your response, and have a great weekend.
> 
> Diaa
> 
> On Friday, May 27, 2016 at 12:45:01 PM UTC-4, Sukaant Chaudhary wrote:
> I'll suggest you to move your tables to hive and transfer the data from hive 
> to neo4j in offline mode using impala, it can be done within minutes.
> 
> -Sukaant Chaudhary
> 
> 
> On Fri, May 27, 2016 at 12:41 PM, Diaa ElKott <[email protected]> wrote:
> Hello all:
> 
> I have a number of table files, which I am parsing, and extracting data, and 
> relationships, and using them to construct a Neo4j database. So far, I am 
> creating Cypher queries, which I am passing to Neo4j via the browser 
> (localhost://7474). This takes a very long time! I am wondering if there is 
> an efficient way to send my queries to Neo4j in, say, a text file.
> 
> Thanks in advance for your help.
> 
> Diaa ElKott
> 
> -- 
> 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.
> 
> 
> -- 
> 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.

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