gpt4 book ai didi

neo4j - 密码查询,加载 CSV 在 Neo4j 2.1 中没有响应

转载 作者:行者123 更新时间:2023-12-02 03:37:00 27 4
gpt4 key购买 nike

当尝试通过 LOAD CSV 命令将数据上传到 Neo4j 2.1 时,它没有响应,甚至在尝试使用无效路径时也没有抛出任何异常。任何评论

LOAD CSV FROM "file:///d:/import.csv" AS csvLine
MERGE (p:Person { name: csvLine[0]})
MERGE (m:Movie { title: csvLine[1]})
CREATE (p)-[:PLAYED { role: csvLine[2]}]->(m)

enter image description here

最佳答案

得知您遇到问题,我们深感抱歉。请刷新浏览器的缓存以使用 LOAD CSV 语句。

这是里程碑版本中的错误。我在 GitHub 上开了一个问题:https://github.com/neo4j/neo4j/issues/2215

When upgrading Neo4j 2.0.1 to 2.1.0-M01 the JS file containing the client-side validation for Cypher is returning as a cached version of the previous release. Because of this, users trying to use the LOAD CSV feature by either start word "LOAD" or "USING" will receive a red alert that says ":help". To prevent this issue, the reference URI of the JS files should contain a query string key-value pair "...?version=2.1.0-M06" or the file name should be changed for each release to include the release version.

Current work-around: Refresh your browser cache for the page (CTRL+F5 on Windows, SHIFT+F5 on Mac OSX).

关于neo4j - 密码查询,加载 CSV 在 Neo4j 2.1 中没有响应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22755289/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com