lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kubes" <nutch-...@dragonflymc.com>
Subject Date Field Indexing
Date Wed, 29 Mar 2006 16:37:03 GMT
Looking at the Lucene In Action book it shows indexing Date fields with
something like this:

 

Field.Keyword("datefield", new Date());

 

I know that the APIs have changed for Field and I see that there are no
longer date constructors. So just confirming that we should use the
DateTools class and store dates as text to index?

 

Dennis 


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