Eugen Rochko
29609c09f4
Fix tag score not being updated when the tag is trending ( #11465 )
5 years ago
Eugen Rochko
648cdbc04a
Add hashtag score for better sorting of autosuggestions ( #11427 )
...
* Add hashtag score for better sorting of autosuggestions
* Do not use `~<~` operator with no text_pattern_ops index
5 years ago
ysksn
bcfff65195
Create Redisable#redis ( #9633 )
...
* Create Redisable
* Use #redis instead of Redis.current
6 years ago
Eugen Rochko
8069fd636b
Remove intermediary arrays when creating hash maps from results ( #9291 )
6 years ago
Eugen Rochko
69c34f3438
Fix number of results returned from TrendingTags.get
6 years ago
Eugen Rochko
0d13e30ad2
Display trending hashtags on admin dashboard ( #8038 )
6 years ago
Eugen Rochko
0deb9fa6b9
Remove trending hashtags ( #7711 )
...
* Delete trends_controller.rb
* Update routes.rb
* Update trending_tags.rb
* Update index.js
* Update index.js
* Update search_results.js
* Update async-components.js
* Update index.js
* Delete trends.js
* Delete trends.js
* Delete trends_container.js
* Delete trends.js
* Update search_results.js
* Update search_results_container.js
6 years ago
Eugen Rochko
6e6c0e9613
Use different algorithm for trending tags ( #7697 )
6 years ago
Eugen Rochko
9bd23dc4e5
Track trending tags ( #7638 )
...
* Track trending tags
- Half-life of 1 day
- Historical usage in daily buckets (last 7 days stored)
- GET /api/v1/trends
Fix #271
* Add trends to web UI
* Don't render compose form on search route, adjust search results header
* Disqualify tag from trends if it's in disallowed hashtags setting
* Count distinct accounts using tag, ignore silenced accounts
6 years ago