简体   繁体   English

Neo4j 图算法没有名称为 algo.nodeSimilarity 的过程

[英]Neo4j Graph Algorithms no procedure with the name algo.nodeSimilarity

I wanted to test some graph algorithms, node similarity in particular.我想测试一些图算法,特别是节点相似性 So I've setup a docker container using neo4j:3.5 (which is v3.5.14 at the moment) official docker image .所以我设置使用泊坞窗容器neo4j:3.5 (这是v3.5.14的时刻)官方泊坞窗图像 Additionally I've downloaded APOC v3.5.0.7 and Graph Algorithms v3.5.4.0 and added this line to the config:另外,我已经下载了 APOC v3.5.0.7和 Graph Algorithms v3.5.4.0并将这一行添加到配置中:

dbms.security.procedures.unrestricted=algo.*

Unfortunately function algo.nodeSimilarity seems not to be present in the registered functions:不幸的是,函数algo.nodeSimilarity似乎不存在于已注册的函数中:

CALL algo.nodeSimilarity('Node', 'LABEL', {})
YIELD nodesCompared, relationships, write, writeRelationshipType, writeProperty

yields产量

There is no procedure with the name algo.nodeSimilarity registered for this database instance.没有为此数据库实例注册名称为algo.nodeSimilarity过程。 Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.请确保您正确拼写了程序名称并且正确部署了程序。

Also call dbms.procedures nor call algo.list() does not show nodeSimilarity .call dbms.procedurescall algo.list()不显示nodeSimilarity The other functions from APOC (eg pageRank ) and Graph Algorithms (eg louvain ) are installed and work as expected . APOC的其他函数(例如pageRank )和图形算法(例如louvain已安装并按预期工作

As I can see in the docs, the algo.nodeSimilarity should be present since v3.5 .正如我在文档中看到的, algo.nodeSimilarityv3.5以来应该存在。 So I'm pretty much confused with this error.所以我对这个错误很困惑。 Would this be more suitable question for the Github Issues page on Graph Algorithms plugin repo?对于 Graph Algorithms plugin repo 上的 Github Issues 页面,这是否更合适?

The Github repo for the Graph Algorithms plugin doesn't seem to actually be up to date - the latest version of the plugin is 3.5.14 , available from the download centre which definitely contains the algo.nodeSimilarity algorithm. Graph Algorithms 插件的 Github 存储库实际上似乎不是最新的 - 插件的最新版本是3.5.14 ,可从下载中心获得,其中肯定包含algo.nodeSimilarity算法。 There are other versions available - this JSON file contains all the variants which isn't super discoverable.还有其他版本可用 - 此 JSON 文件包含所有无法超级发现的变体。

The docs are a bit odd in that they claim everything is in v3.5, but don't say exactly which revision of 3.5 they appeared in. I can't tell when algo.nodeSimilarity appeared, but I'm using 3.5.13 in my 3.5.13 database and it's present there at least.文档有点奇怪,因为他们声称所有内容都在 v3.5 中,但没有确切说明他们出现在 3.5 的哪个修订版中。我不知道algo.nodeSimilarity出现,但我使用的是 3.5.13在我的 3.5.13 数据库中,它至少存在于那里。

It doesn't appear that the Graph Algorithms library uses any form of semantic versioning, and I have yet to find a source for the historic release notes version-by-version. Graph Algorithms 库似乎没有使用任何形式的语义版本控制,而且我还没有找到逐个版本的历史发行说明的来源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM