我想在Neo4j中创建一个值为'url‘(包含更多特殊字符)的节点。
这是我的示例输入csv
属性:ID,URL
埃森哲,https://www.example.com/sg-en/company-leadership-team.aspx
Yeos,http://www.example.org.sg/2012-iaaf-world-indoor-championships-gary
当我尝试使用ne4j-import导入时,我得到了"java.lang.IllegalArgumentException“。
我尝试使用'\‘来转义特殊字符。但它不起作用。
发布于 2016-02-11 22:34:27
您应该能够在浏览器中使用load csv加载这些行。如果sample.csv包含这个..。
ID,URL
Accenture,https://www.example.com/sg-en/company-leadership-team.aspx
Yeos,http://www.example.org.sg/2012-iaaf-world-indoor-championships-gary然后,像这样的语句应该按原样加载属性
load csv with headers
from 'file:/sample.csv'
as row
create (n:Node {id: row.ID, url: row.URL})
return *https://stackoverflow.com/questions/35337209
复制相似问题