Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 74748 invoked from network); 19 Nov 2008 16:03:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2008 16:03:13 -0000 Received: (qmail 76566 invoked by uid 500); 19 Nov 2008 16:03:15 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 76538 invoked by uid 500); 19 Nov 2008 16:03:15 -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 76527 invoked by uid 99); 19 Nov 2008 16:03:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 08:03:15 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of isaacrc82@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 16:01:53 +0000 Received: by wf-out-1314.google.com with SMTP id 28so13515wfc.20 for ; Wed, 19 Nov 2008 08:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Gh91uDkIU0H5NQSXFSTEJeY3e2ePnoblOQAO1Kmflk4=; b=Pc/Lx7cqbJ7DaAWS8zB8/ABz5uTbwZ1wCRii4kn9vh6Prk9SWB+/5olvy86OM/heBy jZcF0ztPDeJqAIycjAlAn0T2kihnAATeDWGRQRULXkLNUvjNeVSmC4kH3jfIRa3SPqKY Erkh81mrI9zi4P2EvRchC6aaqoyHXGZqx/+sU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mT8YOuBl2fUscGDKkewg6A/i8Jz6jUqbFk6N5ar9Lz8J5RfUCy50/AJeqgo4LOI5Ad qsSwA71cx6b9rT67aexOQ5FY7GCKauc1eVJAqs8YayNkSlLBQYetXKjNZzKRxNbZDrax OB8URbdzCMhpuAGldixEPJI+pMAH11+y8hOM0= Received: by 10.142.226.10 with SMTP id y10mr595448wfg.312.1227110557973; Wed, 19 Nov 2008 08:02:37 -0800 (PST) Received: by 10.142.213.3 with HTTP; Wed, 19 Nov 2008 08:02:37 -0800 (PST) Message-ID: Date: Wed, 19 Nov 2008 11:02:37 -0500 From: Ariel To: java-user@lucene.apache.org Subject: How to search documents taking in account the dates ??? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_104278_17628426.1227110557965" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_104278_17628426.1227110557965 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everybody: I need to make search with lucene 2.3.2, taking in account the dates, previously when I build the index I create a date field where I stored the year in which the document was created, at the search moment I would like to retrieve documents that have been created before a Year or after a Year, for example documents before 2002 year o after 2003 year. It is possible to do that with lucene ??? Regards Ariel ------=_Part_104278_17628426.1227110557965--