lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: date keyword
Date Tue, 20 Sep 2005 17:08:47 GMT

On Sep 20, 2005, at 12:55 PM, haipeng du wrote:
> I understand that. But from Field API, there is a method of Keyword  
> which
> accepts Date object as value. When I use that method to index, I  
> can not get
> real date back. I also use other method to pass a string value to  
> index.
> That works great. Does that mean I can not use that method to index  
> keyword?
> Thanks a lot.

Have a look at DateField.stringToDate:


Please also check the wiki, Lucene in Action, and the e-mail list  
archives if you are searching by date.  Lots of caveats apply.


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

View raw message