Skip to content

Commit

Permalink
Fix pagerank filter for real
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Sep 18, 2024
1 parent 8a5f16b commit 1c26a43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,8 @@ impl RepoTrait for Repo {
RETURN $graph_name AS graphName
}
WITH graphName
MATCH (n:User)
OPTIONAL MATCH (n:User)-[r:FOLLOWS]->(m:User)
WHERE n.followee_count > 1 AND n.follower_count > 0
OPTIONAL MATCH (n)-[r:FOLLOWS]->(m:User)
WHERE m.followee_count > 1 AND m.follower_count > 0
WITH gds.graph.project(
graphName,
Expand Down

0 comments on commit 1c26a43

Please sign in to comment.