Hm - but I observed this, too. And I didn't do anything with SQL at all. I was
parsing date strings out of XML, creating a string which could be formatted
using DIH's DateFormatTransformer. But the indexed dates have been a few hours
too early in my case, switching back the dates to one day befo
I don't believe this is a Solr issue at all. I suspect your MySql query is
doing the
timezone change. Solr doesn't apply any processing to the date, it doesn't
need to because times are all Zulu.
There's a little known debug console for DIH, see:
http://wiki.apache.org/solr/DataImportHandler#inter
I am using SOLR 1.4.1. My SOLR runs in a server which is in EST zone.
I am trying to index a date field which is in MySQL as
'2007-08-08T05:36:50Z' but while indexing it becomes '2007-08-08T09:36:50Z'
where 4 hours got increased. But I want the date as is while indexing,
means, after indexing I wa