After years of building world-wide search services, I disagree. The general rule is to do everything in Unicode and UTC and to convert at the edges of the service. If you use local character sets or local time, you will pay for it.
wunder On May 14, 2014, at 5:27 AM, "Jack Krupansky" <j...@basetechnology.com> wrote: > 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. -- Walter Underwood wun...@wunderwood.org