boosting querys closer to the current date

2005-11-16 Thread dblanch
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 lastmodifiedDa

Re: boosting querys closer to the current date

2005-11-16 Thread Erik Hatcher
On 16 Nov 2005, at 04:42, [EMAIL PROTECTED] wrote: 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,

Re: boosting querys closer to the current date

2005-11-16 Thread Chris Hostetter
: If you need to boost without reindexing, I'm not quite sure what the : best solution is - perhaps a custom Query subclass that can do this : based on the current date? Take a look at my response to this exact same question from yesterday... http://mail-archives.apache.org/mod_mbox/lucene-java-