> I'm not sure why deltas were implemented this way.  Possibly it was designed 
> to behave like some of our object-to-relational libraries?  In any case, 
> there are 2 ways to do deltas and you just have to take your pick based on 
> what will work best for your situation.  I wouldn't consider the 
> "command=full-import&clean=false" method a workaround but just a different 
> way to tackle the same problem.

Yeah, I find the delta-update strategy a little strange as well.

Problem with command=full-import&clean=false is that you can't handle
removes nicely using that. If you use the actual delta-import and
deletedPkQuery for that, you run into problems with last_index_time
and miss either modifications or deletes.

I'm handling that by creating a different entity config for updates
(using command=full-import&clean=false) and deletes (using
command=delta-import) but it ends up being much dirtier than it should
be.

Reply via email to