On Nov 22, 2007, at 3:41 PM, Kent Fitch wrote:
> On Nov 23, 2007 4:11 AM, Binkley, Peter <[log in to unmask]>
> wrote:
>
>> ...
>>
>> If you use boost on the date field the way you suggest, remember
>> you'll
>> have to reindex from scratch every year to adjust the boost as items
>> age.
>
>
> Or maybe just use a method such that 2007 dates boost the document
> by 3.0,
> 2008 dates by 3.1, 2009 by 3.2 ... Whether this is feasible
> depends on how
> else you are expecting other scoring boosts to interact with document
> intrinsic boosts.
Don't do date boosting at index time, but rather tune things on the
query end, using FunctionQuery and such. That'll give you maximum
flexibility.
Erik
|