File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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]
I agree. Here's the link:
subject: How're "hottest topics" determined?
jQuery in Action, 3rd edition