Thanks a lot for your response, Michael. I followed your directions, and 
was able to pass the queries to Neo4j via the shell command.

Just wondering: is there a way to echo-off the neo4j shell commands? Would 
this speed up the process, even by a little?

Thanks, and have a great weekend.

Diaa ElKott




On Friday, May 27, 2016 at 4:48:23 PM UTC-4, Michael Hunger wrote:
>
> 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] 
> <javascript:>>: 
> > 
> > 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] <javascript:>. 
> > 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