export to csv from neo4j using import-cypher -


i found neo4j data exporting tool (https://github.com/jexp/neo4j-shell-tools#cypher-import) , worked on mac os computer. followed same step export data ubuntu server , following error message generated without further explanations.

has used tool on ubuntu , idea error message may indicate? also, there way export large (~100m rows) neo4j data csv file?

neo4j-sh (?)$ import-cypher -d"," -o test.csv match (p:product)-[s:similar_to]-(q:product)  return p.id,q.id limit 10 query: match (p:product)-[s:similar_to]-(q:product)  return p.id,q.id limit 10 infile (none) delim ',' quoted false outfile test.csv batch-size 1000 error occurred in server thread; nested exception is:  java.lang.nosuchmethoderror: org.neo4j.graphdb.graphdatabaseservice.execute(ljava/lang/string;)lorg/neo4j/graphdb/result; 

i added new way of exporting data cypher statements.

https://github.com/jexp/neo4j-shell-tools#cypher-export

(note neo4j 2.2.5)

but 100m rows think import-cypher -o still approach.

otherwise check out: http://neo4j.com/blog/export-csv-from-neo4j-curl-cypher-jq/


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -