lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbla...@telemadrid.es
Subject boosting querys closer to the current date
Date Wed, 16 Nov 2005 09:42:03 GMT





Providing that I have indexed documents with the following fields:

 Keyword:   lastmodifiedDate
 Unstored:  contents

And that I run a simple query only using just the contents field.

Is there anyway to change the way Lucene presents results, so documents
with a high score and lastmodifiedDate closer to today are presented first?
Note that I do not want to reverse sort by lastmodifiedDate, what I want is
to take the date into account in the scoring.

Regards,

Daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message