一、要在neo4j路径下的bin目录里打开命令行;
二、一开始用neo4j-admin import --nodes D:\neo4jdata\all_entity.csv --relationships D:\neo4jdata\all_roles.csv报错:
IMPORT FAILED in 57ms.
Data statistics is not available.
Peak memory usage: 0.00 B
Detected field which spanned multiple lines for an import where --multiline-fields=false. If you know that your input data include fields containing new-line characters then import with this option set to true.
Caused by:ERROR in input
data source: BufferedCharSeeker[source:D:\neo4jdata\all_entity.csv, position:20577, line:82]
in field: name:string:2
for header: [entity:ID, name:string, :LABEL, :IGNORE, :IGNORE]
raw field value: e82
original error: At D:\neo4jdata\all_entity.csv @ position 20577 - Multi-line fields are illegal in this context and so this might suggest that there’s a field with a start quote, but a missing end quote. See D:\neo4jdata\all_entity.csv @ position 20577
实体和关系导入Neo4j过程
最新推荐文章于 2023-09-06 15:54:01 发布