Another way to tackle this could be FunctionQuery. It can create a score
based on the value of a field.

http://issues.apache.org/jira/browse/LUCENE-446

-Yonik
Now hiring -- http://tinyurl.com/7m67g

On 9/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> What I really want to do is sort by "A * (1-(B/700))", where A is the
> score, and B is the age (in days) of the document. IE - the score is
> basically "scaled down" with date.
>
>

Reply via email to