Fix suggestions fallback query
This commit is contained in:
parent
bd362f8b39
commit
d8a66ab492
1 changed files with 0 additions and 3 deletions
|
@ -37,10 +37,7 @@ END
|
||||||
neo = Neography::Rest.new
|
neo = Neography::Rest.new
|
||||||
|
|
||||||
query = <<END
|
query = <<END
|
||||||
START a=node:account_index(Account={id})
|
|
||||||
MATCH (b)
|
MATCH (b)
|
||||||
WHERE a <> b
|
|
||||||
AND NOT (a)-[:follows]->(b)
|
|
||||||
RETURN b.account_id
|
RETURN b.account_id
|
||||||
ORDER BY b.nodeRank DESC
|
ORDER BY b.nodeRank DESC
|
||||||
LIMIT {limit}
|
LIMIT {limit}
|
||||||
|
|
Loading…
Reference in a new issue