: http://lucene.472066.n3.nabble.com/StackOverflowError-during-Delta-Import-td811053.html#a824780
yeah, i remember that thread -- it really seems like a driver issue, but understandable that "fixing hte driver" is probably more out of scope then "working arround in solr" : I never did find a "good" solution to that bug however I did come up with a : workaround. I noticed if I removed my deletedPkQuery then the delta-import : would work as expected. Obviously I still have the need to delete items out : of the index during indexing so I wanted to subclass the DataImportHandler : to first update all documents then I would delete all the documents that my : deletedPkQuery would have deleted. i'm not a DIH expert, but have you considered the possibility of having two distinct "entities" declared in your config, that both refer to the same logical entity -- one that you use fo hte delta importing, and one that you use for hte deletedPkQuery ? I'm not sure if it would work, but based on another recent thread i saw, i think it might... http://lucene.472066.n3.nabble.com/deleteDocByID-td858903.html#a858951 ...in any event, subclassing the entire DataImportHandler definitley seems like overkill for what you are trying to achieve -- we just need ot get some of the DIH experts to chime in here. -Hoss