Subject: Boosting newer inserted items in search?


My gut tells me that multiplying a function of the date field with the
full-text relevancy score will work better than adding a function of
the date field.
BoostedQuery can do this via BoostQParserPlugin
http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html

And for the function, you could make it flatter or steeper depending
on how much you wanted date to influence the score.  Might try a recip
function or a linear function on the ord of the date field.  We don't
yet have any functions that work on the actual date values.

http://wiki.apache.org/solr/FunctionQuery

-Yonik

On Mon, Nov 10, 2008 at 3:25 PM, Erik Holstad <[EMAIL PROTECTED]> wrote: