Hi,

I'm looking for a way to have the score of documents decay over time. I want
older documents to have a lower score than newer documents.

I noted the ReciprocalFloatFunction class. In an example it seemed to be
doing just this when you set the function to be:

     recip(ms(NOW,mydatefield),3.16e-11,1,1)

This is supposed to degrade the score to half its value if the mydatefield
is 1 year older  than the current date. My question with this is, is it
making the document score go down to 0.5 or is it making the document score
1/2 of its original value.

i.e.

The document has score 0.8

Will the score be 0.4 or 0.5 after using this function?

Also, are there better alternatives to deal with document decay?

Thanks,
Stephen

Reply via email to