Commit 92ff3504 authored by Mark Harding's avatar Mark Harding

(fix): trending hashtags should use global counts - fixes #2388

parent 0819e2e2
No related merge requests found
Pipeline #104827285 passed with stages
in 14 minutes and 30 seconds
......@@ -45,8 +45,8 @@ class Repository
'must' => [
[
'range' => [
'votes:up:24h:synced' => [
'gte' => $opts['from'],
'@timestamp' => [
'gte' => $opts['from'] * 1000,
],
],
],
......@@ -81,7 +81,7 @@ class Repository
'aggs' => [
'counts' => [
'max' => [
'field' => 'votes:up:24h',
'field' => 'votes:up',
],
],
'owners' => [
......
Please register or to comment