lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: including "time" as a factor in relevance?
Date Sat, 15 Jul 2006 18:29:01 GMT
On 7/15/06, WHIRLYCOTT <> wrote:
> I need to have my search result relevance influenced by time.  Older
> things in my index are less relevant than newer things.  I don't want
> to do a strict sort by date.  Is this supported somehow by using a
> dismax request handler?  Or if you have other hints, I'm eager to
> know what they are.

dismax handler has a bf (boosting function) parameter that may be used
to specify a function over the date field.

You could try something like setting bf to
A reciprocal function over the reverse ordinal of the date field, with
a weight of .5 (adjust weight until you get the right balance)


View raw message