lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@mimirtech.com>
Subject Re: DIH delta last_index_time
Date Wed, 14 Sep 2011 08:31:21 GMT
On Wed, Sep 14, 2011 at 11:23 AM, Maria Vazquez
<maria.vazquez@dexone.com> 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 the delta query checking it
> against lastModifiedDate field in the database but the times are not in sync
> so I might lose some changes.
> Can we use something else other than last_index_time? Maybe something like
> last_pk or something.

One possible way is to edit dataimport.properties, manually or through
a script, to put the last_index_time back to a "safe" value.

Regards,
Gora

Mime
View raw message