neo4j-import multiple file import on windows

放肆的年华 提交于 2020-01-07 06:26:06

问题


Does the Windows version of neo4j-import accept multiple file imports? I get this PowerShell error. I tried with/without quotes and with several separators.

C:\tmp>neo4j-import.bat --into my.graphdb --nodes "artifacts_header.csv,artifacts1.csv"
Invoke-Neo4jImport : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'ArgumentList'. Specified method is not supported.
At line:1 char:144
+ Import-Module 'C:\Users\wisa\Downloads\neo4j-community-3.0.1-windows\neo4j-community-3.0.1\bin\Neo4j-Management.psd1'; Exit (Invoke-Neo4jImport <<<<  --into my.graphdb --nodes artifacts_header.csv,artifacts1.csv)
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4jImport

回答1:


Yes, the Windows version of neo4j-import should accept multiple files in the way that you're trying to do it. However there is a bug which means that it doesn't work in Neo4j 3.0; we're working on a fix. As a workaround you should be able to put everything into a single file.



来源:https://stackoverflow.com/questions/37544375/neo4j-import-multiple-file-import-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!