lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: How to search between dates?
Date Sat, 03 Sep 2005 21:07:52 GMT
You can use the date range query. See:
http://lucene.apache.org/java/docs/queryparsersyntax.html
http://www.lucenebook.com/search?query=range+query

Otis

--- Filip Anselm <filip@nable.dk> wrote:

> Hi
> 
> If I add a Field with a date to all my indexed documents... how can I
> then search and only get the hits where the date Field is between two
> specified dates??
> 
> Thank you in advance!
> 
> Filip
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


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