Skip to content
Snippets Groups Projects
Commit e5565a7e authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix suggestions fallback query

parent 19615a2c
No related branches found
No related tags found
No related merge requests found
......@@ -37,10 +37,7 @@ END
neo = Neography::Rest.new
query = <<END
START a=node:account_index(Account={id})
MATCH (b)
WHERE a <> b
AND NOT (a)-[:follows]->(b)
RETURN b.account_id
ORDER BY b.nodeRank DESC
LIMIT {limit}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment