Trending Friend Likes is a Trivial GraphDB problem. We could help them offload that to a separate service if they'd ask.
MATCH (u:User {Id:123})-[:FRIENDS]->(f)-[:LIKED_ON_2017_07_08]->(t:Track) RETURN t, COUNT(f) ORDER BY COUNT(f) DESC LIMIT 25
MATCH (u:User {Id:123})-[:FRIENDS]->(f)-[:LIKED_ON_2017_07_08]->(t:Track) RETURN t, COUNT(f) ORDER BY COUNT(f) DESC LIMIT 25
No comments yet.