cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Eigen centrality algorithm based on CYPHER projection and with weighted edges

Hello,
I'm trying to use GSD Eigenvector centrality algorithm based on Cypher projection and with weighted edges:

CALL gds.alpha.eigenvector.stream({
nodeQuery: 'MATCH ... RETURN id(node) as id',
relationshipQuery :'MATCH ... RETURN id(x) as source, id(y) as target, z as weight',
normalization:'max',
relationshipWeightProperty: 'weight'
})
YIELD nodeId, score
RETURN nodeId, score

Here the relationship query also returns a column 'weight' to be considered as wights of edges. I insert it with the aid of relationshipWeightProperty property. But the query returns scores as if no any weights were inserted. What is the reason? Maybe I' missing something?
I work with Neo4j v.4.0.

0 REPLIES 0