排查 Neosemantics 错误

非空图

如果您遇到一条错误提示,内容如下

Error Running Query
...
Caused by: n10s.graphconfig.GraphConfigProcedures$GraphConfigException:
The graph is non-empty. Config cannot be changed.

这是由于在图中仍然包含 RDF 数据时,尝试通过调用 n10s.graphconfig.initn10s.graphconfig.set 来修改 n10s 配置导致的。在图中已有数据的情况下更改配置可能会导致数据丢失。

解决方案

可以在空图上多次更改配置。然而,要更新配置,您需要先删除图中的数据。为了解决此错误,您可以尝试以下方法

仍然卡住了吗?

如果您仍然遇到问题,请随时在 Linked Data、RDF、Ontology(链接数据、RDF、本体) 分类下在 Neo4j 社区站点 创建一个 issue。

© . This site is unofficial and not affiliated with Neo4j, Inc.