lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: Sorting results by both score and date
Date Wed, 05 Oct 2005 04:09:06 GMT
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, Tim.Wright@informa.com <Tim.Wright@informa.com> 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.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message