Add trending score to solr #7429
Labels
Lead: @cdrini
Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]
Module: Solr
Issues related to the configuration or use of the Solr subsystem. [managed]
Needs: Help
Issues, typically substantial ones, that need a dedicated developer to take them on. [managed]
Priority: 2
Important, as time permits. [managed]
Type: Feature Request
Issue describes a feature or enhancement we'd like to implement. [managed]
Milestone
We would love to be able to see trending items in a given collection (eg what's trending today in
subject:fantasy
?). This would be a useful sorting parameter for many pages (eg Library Explorer, subject pages, trending carousel), that would provide interesting books while also providing a good variety of books.In order to do this we need a score to be stored in solr. We can do this using a z score algorithm like the one described here.
We'd need a few new solr fields:
Then the rough formula is:
We would then need:
trending_actions_daily
andtrending_score
trending_actions_hourly
andtrending_score
trending_actions_hourly
andtrending_actions_monthly
andtrending_score
The text was updated successfully, but these errors were encountered: