Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 67845 invoked from network); 16 Nov 2005 09:38:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Nov 2005 09:38:14 -0000 Received: (qmail 24435 invoked by uid 500); 16 Nov 2005 09:38:09 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 24395 invoked by uid 500); 16 Nov 2005 09:38:08 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 24384 invoked by uid 99); 16 Nov 2005 09:38:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 01:38:08 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=DNS_FROM_RFC_POST,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.80.167.228] (HELO correo.telemadrid.org) (212.80.167.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 01:39:37 -0800 Received: from tm1.telemadrid.org ([212.80.167.225]) by correo.telemadrid.org (Lotus Domino Release 6.5.1) with ESMTP id 2005111610372854-11269 ; Wed, 16 Nov 2005 10:37:28 +0100 Importance: Normal X-Priority: 3 (Normal) Subject: boosting querys closer to the current date MIME-Version: 1.0 From: dblanch@telemadrid.es To: java-user@lucene.apache.org X-MIMETrack: MIME-CD by Notes Server on tm1/TELEMADRID(Release 6.5.1|January 21, 2004) at 16/11/2005 10:42:03, MIME-CD complete at 16/11/2005 10:42:03, Serialize by Router on tm1/TELEMADRID(Release 6.5.1|January 21, 2004) at 16/11/2005 10:42:03, Itemize by SMTP Server on CORREO/TELEMADRID(Release 6.5.1|January 21, 2004) at 16/11/2005 10:37:28, Serialize by Router on CORREO/TELEMADRID(Release 6.5.1|January 21, 2004) at 16/11/2005 10:37:50, Serialize complete at 16/11/2005 10:37:50 Date: Wed, 16 Nov 2005 10:42:03 +0100 Message-ID: Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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