when do I run / solr / dataimport? command = full-import processes all documents. However, when I run delta import (/ solr / dataimport? Command = delta-import), it correctly identifies updated data (returns " <str name="Total Rows Fetched">1</str>"), but does not process it (returns " <str name="Total Changed Documents">0</str>")
my data-config.xml looks something like this:
<entity name="category" pk="catID"
query="SELECT CONCAT('c_',catID) ID, catID, catName FROM category"
deltaImportQuery="SELECT CONCAT('c_',catID) ID, catID, catName FROM category WHERE catID = '{$dataimporter.delta.catID}'"
deltaQuery="SELECT catID FROM category WHERE catDate > '${dataimporter.last_index_time}'"/>
(note - there is a separate reason for my concat)
Why is the whole import process during import delta but not processed?
Ywsw source
share