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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]