Hi,

How do people tend to round date type fields when they don't need millisecond 
precision?

Using just the straight "date" type leaves you with date/time info down to 
milliseconds.  What if you want to round that up to minutes, for example?  Is 
there a way to tell the "date" type to do that?  Or do people simply round 
dates manually before indexing and then index them not as "date" type, but as 
"string" type, for example: "2008-08-28 23:30"?


Thanks,
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

Reply via email to