lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lu" <>
Subject Re: Bubbling up newer records
Date Thu, 15 Jan 2009 10:13:47 GMT
No default behavior of Lucene does this.

My approach is to create a time weight query with a scorer that weighs in
the time based on a user-defined formula. This way, you can view the
explained query with the time weighting information, and the weighting can
be dynamically controlled.

This is a built-in feature of DBSight and works well in real production
sites. I am not sure how payload can help. If payload is used to store date,
it seems redundant since you can easily store date field in the document,
and you can get the date from the field cache pretty quickly.

Chris Lu
Instant Scalable Full-Text Search On Any Database/Application
Lucene Database Search in 3 minutes:
DBSight customer, a shopping comparison site, (anonymous per request) got
2.6 Million Euro funding!

On Wed, Jan 14, 2009 at 7:44 PM, mitu2009 <> wrote:

> Hi,
> Is it possible to bubble up newer records in lucene search results? ie.I
> want Lucene to give a higher score to records which are closer to today's
> date.
> --
> View this message in context:
> Sent from the Lucene - Java Developer mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message