lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Hadianto <>
Subject Re: Searching Date Fields
Date Thu, 01 May 2003 09:42:37 GMT
> While reading the createdDate field value from the index (in String form),
> it shows up this column value in some format similar to this 0debn3bk0. And

It's not jibberish, it's how Lucene indexes the date field. Internally Lucene 
works only with string, thus Lucene needs to convert any date values into a 
string value that can be compared properly, so 1st Jan 2000 will always be 
smaller than 2nd Jan 2000.

That at least how I understand Lucene to work, someone please correct me if 
I'm wrong.


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

View raw message