How is the "top" order determined


(Rob Nicholson) #1

What’s the logic used to determine the default order of top topics? Why is “Discourse’s Fourth Birthday” above “Custom Layout Plugin” when the later has had more replies, more views and more recent activity?

(Vinoth Kannan) #2

You can see the explanation in the tooltip of the “top” menu. It says “the most active topics in the last year, month, week or day”.

As you can see Discourse calculating topic score for all the periods using the counting of posts, views, topic likes and post likes. And topics will be displayed in descending order of the PERIOD_score.

@sam I just noticed quarterly_score index is missing (or no need?) here while all other periods having their own score index. Yes I already know it will not affect the result.

(Jeff Atwood) #3

Because likes to the first post are unusually weighted… ask @sam about that. It was his choice.