You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MATCH (post:Post)
WHERE $endDate >= post.creationDate >= $startDate
WITH post
MATCH (post)<-[:REPLY_OF*0..]-(reply)
WHERE $endDate >= reply.creationDate >= $startDate
WITH post, reply
MATCH (person)<-[:HAS_CREATOR]-(post)
RETURN
person.id,
person.firstName,
person.lastName,
count(DISTINCT post) AS threadCount,
count(DISTINCT reply) AS messageCount
ORDER BY
messageCount DESC,
person.id ASC
LIMIT 100
Added index on :Post(creationDate)
The text was updated successfully, but these errors were encountered: