The normal way to do this is to use a RangeQuery to identify a range of
dates that are important and apply a boost to that query term. 

In query parser syntax it might look like

+"your query here" date:[20090101 TO 20090721]^3 

You could even apply several such boosts

+"your query here" date:[20090101 TO 20090721]^5  date:[20080101 TO
20081231]^2

You will have to experiment with the relative boost levels.

Hope this is helpful.

Yours,
Moray
--------------------------------------
Moray McConnachie
Director of IT
Oxford Analytica

+44 1865 261 600 http://www.oxan.com  

> -----Original Message-----
> From: Robert Pohl [mailto:[email protected]] 
> Sent: 21 July 2009 08:51
> To: [email protected]
> Subject: Boosting dates
> 
> Hi,
> 
> I have a lot of articles indexed with title, body and date.
> How can I boost the dates so that the most recent articles 
> have higher score than the older ones?
> 
> Thanks,
> Rob
> 
> 
> 

Reply via email to