lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc...@nitwit.de
Subject Re: Simple date/range question
Date Fri, 02 Apr 2004 15:44:17 GMT
On Friday 02 April 2004 17:03, lucene@nitwit.de wrote:
> java.sql.Timestamp time = row.getTimestamp("timestamp");
> if (time != null) doc.add(Field.Keyword("date", new Date(time.getTime())));
>
> date:20030101

BTW Looking at the index using luke I found that date contains something that 
looks like a hash to me....is the  object stored in index or what?!

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message