neo4j 示例数据在neo4j的最新版本2.1.2中不起作用如此处和此处.它们是为1.9构建的,显然只能升级到2.0,而不是2.1.有没有办法从tarball(包含我不理解的graph.db)或关联的github存储库(我也将其提取为csv或cypher文件(带有一堆CREATE语句))中不明白)?
The neo4j example data does not work in the most recent version 2.1.2 of neo4j as documented here and here. They are built for 1.9 and apparently can only be upgraded to 2.0, not 2.1. Is there a way to extract the raw data as a csv or cypher file (with a bunch of CREATE statements) from either the tarballs (which contain a graph.db, which I do not understand) or the associated github repositories (which I also do not understand)?
推荐答案由我们来更新数据集,谢谢指出,我认为我们还将它们放入版本化的子目录中,因此更易于查看他们是哪个版本.
It's up to us to update the datasets, thanks for pointing it out, I think we'll also put them into versioned subdirectories, so it is easier to see which version they are in.
通常对于足够小的数据集,可以使用neo4j-shell和"dump"命令生成密码语句.
In general for small enough datasets, you can use the neo4j-shell and the "dump" command to generate cypher statements.
还可以在neo4j浏览器中实际将查询结果下载为CSV.
Also in the neo4j browser you can actually download the query results as CSV.
我还为neo4j shell编写了一套帮助工具.以csv,graphml和其他格式导出和导入数据.
I also wrote a set of helper tools for the neo4j shell that allows you to export and import data as csv, graphml and other formats.
更多推荐
如何从neo4j示例中提取原始数据?
发布评论