DenisGallo / Neo4j-ParticleFiltering

A user-defined procedure based on Markov-chains to approximate the Personalized PageRank algorithm in Neo4j
GNU General Public License v3.0
8 stars 6 forks source link

Error when running with neo4j 5.4 #10

Open risufaj opened 1 year ago

risufaj commented 1 year ago

When trying to run particle filtering with a neo4j 5.4 instance I get the following error

ClientError: {code: Neo.ClientError.Procedure.ProcedureCallFailed} {message: Failed to invoke procedure particlefiltering: Caused by: java.lang.NoSuchMethodError: 'java.lang.Iterable org.neo4j.graphdb.Node.getRelationships()'}

I assume it's because of api changes in neo4j. Would anyone have any ideas how to fix this?

kuzeko commented 1 year ago

Thanks for the issue. I had only a very quick look. It seems that there is a change in the method signature.

https://neo4j.com/docs/java-reference/current/javadocs/org/neo4j/graphdb/Node.html#getRelationships()

But we need to verify, if you want to try to test a fix it would be appreciated.