Hallo,
I want to trigger a deltaimportquery by given IDs.

Example:

query="select oid, att1, att2 from my_table"

deltaImportQuery="select oid, att1, att2 from my_table 
   WHERE oid=${dih.delta.OID}"

deltaQuery="select OID from my_table WHERE
                                TIME_STAMP > TO_DATE
(${dih.last_index_time:VARCHAR}, 'YYYY-MM-DD HH24:MI:SS')"

deletedPkQuery="select OID from my_table
       where TIME_STAMP > TO_DATE(${dih.last_index_time:VARCHAR}, 'YYYY-MM-
DD HH24:MI:SS')"
                           

Pseudo URL: 

http://solr-server/solr/mycore/dataimport/?command=deltaImportQuery&&oid=5
&&oid=6

to trigger the update or insert of the datasets with OID in (5, 6).

What is the correct way?

Thanks for any hint.

Ciao
  Peter Schütt


Reply via email to