Fix follow suggestions ranking
This commit is contained in:
parent
7075cef8f9
commit
04bfd4262f
2 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,7 @@ START a=node:account_index(Account={id})
|
|||
MATCH (a)-[:follows]->(b)-[:follows]->(c)
|
||||
WHERE a <> c
|
||||
AND NOT (a)-[:follows]->(c)
|
||||
RETURN DISTINCT c.account_id
|
||||
RETURN DISTINCT c.account_id, c.nodeRank
|
||||
ORDER BY c.nodeRank
|
||||
LIMIT {limit}
|
||||
END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue