This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JForum and the fly likes How're Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "How Watch "How New topic

How're "hottest topics" determined?

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hey folks,

I think I've asked this before but couldn't seem to find the original post (it was long ago, and I don't think I got an answer, so bear with me).

Anyway, I was wondering what classifies a topic as 'hot'? Is it determined by the number of replies, or the number of visits, or a combination of both?

Thanks for any help!
- Jay
[originally posted on by Jiajun]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This is defined by the TopicModel.selectHottestTopicsByLimit query. This defaults to the topics with the most views.

FWIW, you can redefine this by changing the query definition in your <database type>.sql file.
[originally posted on by monroe]
Don't get me started about those stupid light bulbs.
subject: How're "hottest topics" determined?