Neo4j shell CSV导入问题

时间:2016-01-14 13:18:12

标签: csv import neo4j

Neo4j shell导入问题

我对Neo4j shell导入有问题。我正在加载数据以便初始导入数据库。我使用大约70个包含导入节点和关系的文件。但是我收到了错误

    Import error: Nodes for any specific group must be added in sequence before adding nodes for any other group
java.lang.IllegalStateException: Nodes for any specific group must be added in sequence before adding nodes for any other group
        at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.put(EncodingIdMapper.java:199)
        at org.neo4j.unsafe.impl.batchimport.NodeEncoderStep.process(NodeEncoderStep.java:77)
        at org.neo4j.unsafe.impl.batchimport.NodeEncoderStep.process(NodeEncoderStep.java:43)
        at org.neo4j.unsafe.impl.batchimport.staging.ProcessorStep$4.run(ProcessorStep.java:120)
        at org.neo4j.unsafe.impl.batchimport.staging.ProcessorStep$4.run(ProcessorStep.java:102)
        at org.neo4j.unsafe.impl.batchimport.executor.DynamicTaskExecutor$Processor.run(DynamicTaskExecutor.java:237)

当我删除一些文件到导入时它会消失,但它没有特别链接文件,而不是格式问题。

有什么想法吗?

由于

1 个答案:

答案 0 :(得分:0)

您使用的是旧版neo4j吗?这可能是由于2.2.0中修复的错误造成的。请参阅此类似SO question