search - is it possible to change the delta import command to delete the unwanted documents based on a criteria? each time when delta import runs -
I have a dataImportScheduler that is configured to increase the index or import the changes, post and the HTTP request. What I want to be able to do, every time Delta Import runs, it should also run a removal query, in which there are some criteria for deleting unwanted data in the index, documenttype: deleted
.
I'm using Delta Import Query
http: // Address: 8080 / SLR-Multicore / Datamport? Command = delta-import and clean = false & amp; Commit = true
You used the deleted PkQuery to clear deleted records can do.
-
& lt; Unit name = "album" query = "SELECT * from album" deleted PkQuery = "deleted deleted id deleted from deleted WHERE deleted_at> '$ {dataimporter.last_index_time}' '& gt; / Code>
This will help you delete the record without timestamps.
Comments
Post a Comment