Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想保留所有的浏览历史,
计算浏览页面之间的行为。
所以我设计了下图来展示我的想法,
如您所见,页面 A和页面 B之间有4 条边,
那么我怎样才能创建那种关系和节点呢?
我怎么能得到
有什么建议和想法吗?
谢谢
我有点困惑。关系是什么意思?它是否代表用户浏览到页面 B 之前在页面 A 上花费的时间?
只是从你的模型和目标出发,也许这样的事情会奏效?
MATCH (a:Page)-[r:browsed_to]->(b:Page) RETURN avg(r.time_spent)
对于最小和最大时间,您可以替换avg为minandmax
avg
min
max