At the moment I am running this side-by-side with my console app...i
have a trending audios section as well as a popular audio section
(calculated from my console app), eventually once I am satisfied with
the algorithm i will fade out the popular section.
It seems to be handling ok and updates an audios score every time it is
played/downloaded/favorited etc. I always seem to have around 3 indexes
stale, but these are different indexes (multimap/reduce indexes for
other documents).
The score seems to be working ok at the moment, with a mixture of
fairly new mixes as well as mixes from a couple of weeks ago with very
high stats near the top of the results, i may have to adjust the
algorithm slightly over time to get the perfect results...but so far i
am happy.
Paul
On 30 July 2012 08:38:15, Ryan Heath wrote:
> So you are not using nightly console app runs anymore? Is RDB capabele
> to reindex your votes, downloads etc in near realtime?
> I'd like to know whether this approach gained you the goal(s) you were
> looking for.
>
> // Ryan
>
> Sent from my iPhone
>
> On Friday, July 27, 2012, Paul Hinett wrote:
>
>
> Thanks for the help on this. I got a little help from SO for an
> algorithm which gives a score for each audio document. Newer items
> are given a higher score and downloads/plays etc improve the score
> too, after around 12-14 days popular items should drop off for
> newer audios to get a chance at trending.
>
> Here is the algorithm if anyone is interested:
>
https://gist.github.com/__3187299 <
https://gist.github.com/3187299>
>
> And you can see it in action here:
>
http://www.house-mixes.com/__mixes/trending/