Fix suggestions fallback query

pull/6/head
Eugen Rochko 2016-10-27 19:03:05 +02:00
parent 19615a2c37
commit e5565a7e4a
1 changed files with 0 additions and 3 deletions

View File

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