lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael J. Prichard" <michael_prich...@mac.com>
Subject Timestamps as milliseconds
Date Wed, 26 Jul 2006 13:47:51 GMT
I am working on indexing emails and have stored the data as 
milliseconds.  I was thinking of using a filter w/ my search that would 
only return the email in that data range.  I am currently indexing as 
follows:

doc.add(new Field("date", (String) itemContent.get("date").toString(), 
Field.Store.YES, Field.Index.UN_TOKENIZED));

does this look like a good approach to you all?

Thanks,
Michael


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