lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Martchenko <ale...@superdownloads.com.br>
Subject Re: Schema fieldType y-m-d ?!?!
Date Wed, 14 Sep 2011 16:44:09 GMT
If you don't need date-specific functions and/or faceting, you can store it
as a int, like 20110914 and parse it in your application....

but I don't recommend... as a rule of thumb, dates should be stored as
dates, the millenium bug (Y2K bug) was all about 'saving some space'
remember?

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