: Now finally, my problem. The format for NOW doesn't seem to be 
: documented so I have no idea what I need to 'match' (or even that 
: matching is necessary from the documentation outside these 2 bugs) in 
: order to take advantage of the default value feature and mix that with 
: data from my streams. I can see from here that it isn't the 'no millis' 
: form since a discrepancy is triggering this bug.

NOW triggers DateMath which constructs a new Date() object which DateField 
formats according using the simple date formatter...
  "yyyy-MM-dd'T'HH:mm:ss.SSS"
...which in the context of SOLR-544 i realize isn't technically correct 
because it will inlcude trailing zeros.  ugh.

The nutshell answer is: iyou use DateMath and you want to be consistent 
when you send literal date values, you need to use full milli's with 
trailing zeros -- even though that isn't what the true date format spec 
says you should do.


-Hoss

Reply via email to