On Thu, Mar 25, 2010 at 10:14 PM, Ruben Chadien <ruben.chad...@aspiro.com> wrote: > Hi > > I know this has been discussed before, but is there any way do > expungeDeletes=true when the DataImportHandler does the commit. expungeDeletes= true is not used does not mean that the doc does not get deleted.deleteDocByQuery does not do a commit. if you wish to commit you should do it explicitly > I am using the deleteDocByQuery in a Transformer when doing a delta-import > and as discussed before the documents are not deleted until restart. > > Also, how do i know in a Transformer if its running a Delta or Full Import , > i tries looking at Context. currentProcess() but that gives me "FULL_DUMP" > when doing a delta import...? the variable ${dataimporter.request.command} tells you which command is being run > > Thanks! > Ruben Chadien
-- ----------------------------------------------------- Noble Paul | Systems Architect| AOL | http://aol.com