Re: Date factor formula

Lachlan Andrew <[email protected]>
Newsgroups gmane.comp.web.htdig.devel
Organization sourceforge
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.