java - 如何在 neo4j 嵌入式应用程序中注册“apoc.algo.dijkstra”?
问题描述
我在我的应用程序中使用 java neo4j 嵌入式版本。
当我db.execute(CypherQuery)
用来执行
CALL apoc.algo.dijkstra(m, n, 'IS_CONNECTED', 'cost') YIELD path, weight RETURN path, weight ORDER BY weight limit 1
比我发现的
Caused by: org.neo4j.internal.kernel.api.exceptions.ProcedureException: There is no procedure with the name `apoc.algo.dijkstra` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
at org.neo4j.kernel.impl.proc.ProcedureRegistry.noSuchProcedure(ProcedureRegistry.java:276)
所以我想知道如何为嵌入式 neo4j 注册 apoc jar。
解决方案
推荐阅读
- android - 从服务器流式传输加密视频的 Exoplayer 问题
- reactjs - 压缩 reactJS bundle.js
- python - python - 如何为导入的.csv矩阵更改python矩阵中的变量?
- arduino-uno - 与 Arduino 连接的 HC-05 模块在 3 秒后停止向 Android 应用程序发送数据
- python - 从 Pyspark UDF 调用另一个自定义 Python 函数
- javascript - 拉姆达:哪里有?
- c# - XAML 属性集顺序优化
- python - 如何从 tkinter 条目小部件中获取值,以便对其进行验证?
- java - 如何获取和索引数组对象
- axapta - 请求的任务无法在 \Forms\AB\DataSources\XY\Methods\displayOption 上执行