Hi,
I am trying to find out if it is possible to apply a boost (or perhaps there is some other mechanism) to a hibernate search such that more 'recent' results have a greater score (importance) than older ones.
I appreciate that I can do date ranged searches, and that I can easily just sort the results by date, but I am aiming for something more sophisticated than that.
Ideally I would like to apply just a small boost to weight the results slightly towards the more recent - meaning that it is not impossible for a very old result to be at the top of the list - just that the old result would have to be more relevant than than another, more recent, result.
I hope I've explained my question properly - I appreciate any suggestions you may have.
Thanks,
James.
|