本文介绍了neo4j-import在Windows上导入多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Windows版neo4j-import是否接受多个文件导入?我收到此PowerShell错误.我尝试使用带引号/不带引号,并使用多个分隔符.
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
推荐答案
是的,Windows版本的neo4j-import
应该以您尝试的方式接受多个文件.但是,有一个错误意味着它在Neo4j 3.0中不起作用.我们正在努力解决.作为解决方法,您应该可以将所有内容放入一个文件中.
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.
这篇关于neo4j-import在Windows上导入多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!