The general rule everywhere is that the default time zone is the local time zone of the server processing the date. Could you verify whether your server is in fact set to be "+03:00".

If your convention for your database is that the default time zone is GMT, then you will have to manually add that to dates.

-- Jack Krupansky

-----Original Message----- From: hakanbillur
Sent: Friday, May 9, 2014 4:38 AM
To: solr-user@lucene.apache.org
Subject: Indexing DateField timezone problem

<http://lucene.472066.n3.nabble.com/file/n4135079/Capture2.png>
<http://lucene.472066.n3.nabble.com/file/n4135079/Capture.png>

Hi,

I have a problem about indexing UTC date format to solr from DB. For
example, in DB, date:"2014-05-01 23:59:00" and same date: "date":
"2014-05-01T20:59:00Z" in solr.
There are time diifference -3 hours! (For Turkey).

you can see about two captures on the right side.

i hope, someone can help me.



--
View this message in context: http://lucene.472066.n3.nabble.com/Indexing-DateField-timezone-problem-tp4135079.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to