Greetings,

A candidate would be

date_score = date_factor*100 / (1 + (now-document_date)/356*24*60*60)

That says that something a year old is half as relevant as something 
hot off the press, and nothing gets zero/negative.

Cheers,
Lachlan

On Thu, 11 Mar 2004 22:15, Gabriele Bartolini wrote:
>    I am writing about the formula used in the 'date factor' weight.
>
> date_score = date_factor * ((document_date * 10 / now) - 9)

-- 
[EMAIL PROTECTED]
ht://Dig developer DownUnder  (http://www.htdig.org)


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to