Skip to content

Commit

Permalink
Fix ic 14 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu authored Dec 7, 2022
1 parent 4740aa2 commit 68b8bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula/queries/interactive-complex-14.ngql
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ WITH count(comm) AS cnt3, cnt1, cnt2, prev, curr, personIdsInPath
OPTIONAL MATCH (curr)<-[:COMMENT_HAS_CREATOR]-(comm:`Comment`)-[:REPLY_OF_COMMENT]->(comm2:`Comment`), (prev)<-[:COMMENT_HAS_CREATOR]-(comm2)
WITH count(comm) AS cnt4, cnt1, cnt2, cnt3, prev, curr, personIdsInPath
RETURN personIdsInPath, sum(cnt1 + cnt2 + 0.5 * cnt3 + 0.5 * cnt4) AS pathWeight
ORDER BY pathWeight DESC, personIdsInPath DESC
ORDER BY pathWeight DESC, personIdsInPath ASC

0 comments on commit 68b8bb2

Please sign in to comment.