You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shinichiro Abe (JIRA)" <ji...@apache.org> on 2014/07/11 17:54:05 UTC
[jira] [Updated] (SOLR-3365) Data import using local time to mark
last_index_time
[ https://issues.apache.org/jira/browse/SOLR-3365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shinichiro Abe updated SOLR-3365:
---------------------------------
Attachment: SOLR-3365.patch
Simple patch for trunk. It would be nice if we could configure time zone when database server's timezone is differed from Solr server's one. Because currently we have to add '-Duser.timezone=foobar' when starting Solr as a workaround.
e.g.
{code:xml}
<propertyWriter type="SimplePropertiesWriter" timezone="Asia/Tokyo" />
Or
<propertyWriter type="SimplePropertiesWriter" timezone="Etc/GMT-9" />
Or
<propertyWriter type="SimplePropertiesWriter" timezone="Etc/GMT" />
{code}
> Data import using local time to mark last_index_time
> ----------------------------------------------------
>
> Key: SOLR-3365
> URL: https://issues.apache.org/jira/browse/SOLR-3365
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Environment: 1 mysql data source server
> 2 solr servers
> Reporter: Bartosz Cembor
> Attachments: SOLR-3365.patch
>
>
> Class org.apache.solr.handler.dataimport.DataImporter
> setIndexStartTime(new Date());
> When there is difference in time beetwen servers (mysql and solr) some documents are not indexed
> I think DataImporter should take time from mysql database (SELECT NOW()) and use it for mark start_index_time
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org