Fix suggestions fallback query

th-downstream
Eugen Rochko 8 years ago
parent bd362f8b39
commit d8a66ab492

@ -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}

Loading…
Cancel
Save