lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Lea" <ian....@gmail.com>
Subject Re: How to search documents taking in account the dates ???
Date Wed, 19 Nov 2008 16:09:05 GMT
Hi - sounds like you need a range query.

http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Range%20Searches


--
Ian.


On Wed, Nov 19, 2008 at 4:02 PM, Ariel <isaacrc82@gmail.com> wrote:
> 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
>

---------------------------------------------------------------------
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