09:07'),(1,'20170101 09:09'),go
-- Count in the last 10readings r2 where r2.server=r1.server and r2.sampled <= r1.sampled and r2.sampled > dateadd(minute,-10,r1.sampled)) as countinlast10</em
以前,在我分享我的SOLR统计数据之前,我可以使用以下代码显示有史以来最受欢迎和下载最多的10个项目:Add top 10 most downloaded items to /statistics-home我们的统计数据只能追溯到2011年,所以在分片后,我们有10个统计核心,从2011年到现在,也就是2020年。我现在的问题是如何获得所有年份的最大浏览量/下载量,因为我不能再使用默认的SOLR统计URL,因为使用它只能获得当前年份。当我在查看