lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haipeng du <>
Subject date keyword
Date Tue, 20 Sep 2005 14:39:54 GMT
I use lucene to index a key word with date object. When I search document, 
how could I process the searching result for that field? For example:
index date with 
Field field = Field.Keyword("created", new Date);
When I search that, I get that field back
Field f = doc.getField("created").
but value of that field is just like 
How could I process that to get Date object back?
Thanks a lot. 

Haipeng Du
Software Engineer
Salt Lake City

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message