On Wed, Sep 14, 2011 at 9:56 PM, Vazquez, Maria (STM)
wrote:
> Thanks Rahul
> That sounds like a good solution, I will change the code to support different
> timezones. Maybe this could be included in next release of Solr since a few
> people mentioned this problem too.
[...]
If it was indeed a
Modified date in the DB is stored in UTC.
Regards,
Claudia
-Original Message-
From: Vazquez, Maria (STM) [mailto:maria.vazq...@dexone.com]
Sent: Wednesday, September 14, 2011 9:27 AM
To: solr-user@lucene.apache.org
Subject: Re: DIH delta last_index_time
Thanks Rahul
That sounds like a goo
From: Rahul Warawdekar
To: solr-user@lucene.apache.org
Sent: Wed, Sep 14, 2011 14:01:08 GMT+00:00
Subject: Re: DIH delta last_index_time
Hi Maria/Gora,
I see this as more of a problem with the timezones in which the Solr server
and the database server are located.
Is this true ?
If yes, one
Rahul is right.
You may add a script to change the date in data-import.properties to half
hour before the last modi time before each delta-import.
--
View this message in context:
http://lucene.472066.n3.nabble.com/DIH-delta-last-index-time-tp3334992p3336203.html
Sent from the Solr - User mail
Hi Maria/Gora,
I see this as more of a problem with the timezones in which the Solr server
and the database server are located.
Is this true ?
If yes, one more possibility of handling this scenario would be to customize
DataImportHandler code as follows
1. Add one more configuration property name
On Wed, Sep 14, 2011 at 11:23 AM, Maria Vazquez
wrote:
> Hi,
> How do you handle the situation where the time on the server running Solr
> doesn¹t match the time in the database?
Firstly, why is that the case? NTP is pretty universal
these days.
> I¹m using the last_index_time saved by Solr in t
Hi,
How do you handle the situation where the time on the server running Solr
doesn¹t match the time in the database?
I¹m using the last_index_time saved by Solr in the delta query checking it
against lastModifiedDate field in the database but the times are not in sync
so I might lose some changes.