Re: SOLR 1.4.1 : Indexing DateField time zone problem

2010-11-25 Thread Erik Fäßler
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

Re: SOLR 1.4.1 : Indexing DateField time zone problem

2010-11-25 Thread Erick Erickson
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