You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by hassancrowdc <ha...@gmail.com> on 2013/04/18 17:49:48 UTC
Solr indexing
Solr is not showing the dates i have in database. any help? is solr following
any specific timezone? On my database my date is 2013-04-18 11:29:33 but
solr shows me "2013-04-18T15:29:33Z". Any help
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-indexing-tp4057017.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr indexing
Posted by Jack Krupansky <ja...@basetechnology.com>.
Solr dates are always "Z", GMT.
-- Jack Krupansky
-----Original Message-----
From: hassancrowdc
Sent: Thursday, April 18, 2013 11:49 AM
To: solr-user@lucene.apache.org
Subject: Solr indexing
Solr is not showing the dates i have in database. any help? is solr
following
any specific timezone? On my database my date is 2013-04-18 11:29:33 but
solr shows me "2013-04-18T15:29:33Z". Any help
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-indexing-tp4057017.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr indexing
Posted by Andy Lester <an...@petdance.com>.
On Apr 18, 2013, at 10:49 AM, hassancrowdc <ha...@gmail.com> wrote:
> Solr is not showing the dates i have in database. any help? is solr following
> any specific timezone? On my database my date is 2013-04-18 11:29:33 but
> solr shows me "2013-04-18T15:29:33Z". Any help
Solr knows nothing of timezones. Solr expects everything is in UTC. If you want time zone support, you'll have to convert local time to UTC before importing, and then convert back to local time from UTC when you read from Solr.
xoa
--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
Re: Solr indexing
Posted by uohzoaix <jo...@gmail.com>.
you just change date filedtype to string
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-indexing-tp4057017p4057136.html
Sent from the Solr - User mailing list archive at Nabble.com.