Re: Getting started with SOLR

From: Erik Hatcher <erikhatcher_at_nyob>
Date: Fri, 23 Nov 2007 04:39:52 -0500
To: CODE4LIB_at_listserv.nd.edu
On Nov 22, 2007, at 3:41 PM, Kent Fitch wrote:
> On Nov 23, 2007 4:11 AM, Binkley, Peter <Peter.Binkley_at_ualberta.ca>
> 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
Received on Fri Nov 23 2007 - 04:41:57 EST