lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leos Literak <>
Subject Re: no results for date field
Date Thu, 07 Jul 2005 07:13:02 GMT
Erik Hatcher napsal(a):
> QueryParser attempts to parse the from and to strings as simple date  
> formats with the default locale.  You would use something like  
> "created:[01/01/04 TO 07/05/05]".
> Please read up on the issues that the default date handling poses  
> though.  Simply indexing with YYYYMMDD format is generally a better  way 
> to go, though you will need to adjust for this to handle range  queries 
> with QueryParser.  Lots of details of the date issues are in  Lucene in 
> Action and some details on the wiki too I believe.

this one works in Czech:

created:[1.7.2005 TO 7.7.2005]


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message