I am trying to import data from Document DB to solr-5.4.1. Full import is executing properly but delta import is not working. When I execute delta import nothing happens
The correct way to use the deltaQuery is
deltaQuery="{'lastUpdatedDate':{$exists:true},'lastUpdatedDate':{$gt: {$date:'2020-03-13T08:44:06.959Z'}}}"
as you can see here
However, the SOLR will use ${dih.last_index_time}
that is by default formated as 2020-03-13 08:44:06
. You'll need to change the format by adding something like the following setting inside your <dateConfig>
element.
<propertyWriter dateFormat="yyyy-MM-dd'T'HH:mm:ss.SSSXXX" type="SimplePropertiesWriter" filename="my_dih.properties" locale="en-US" />