Can you try using onError=skip on your entities which use this data source?
It's been some time since I looked at the code so I don't know if this works with data source. Worth a try I guess. On Fri, Jan 17, 2014 at 7:20 PM, Peter Keegan <peterlkee...@gmail.com> wrote: > Following up on this a bit - my main index is updated by a SolrJ client in > another process. If the DIH fails, the SolrJ client is never informed of > the index rollback, and any pending updates are lost. For now, I've made > sure that the DIH processor never throws an exception, but this makes it a > bit harder to detect the failure via the admin interface. > > Thanks, > Peter > > > On Tue, Jan 14, 2014 at 11:12 AM, Peter Keegan <peterlkee...@gmail.com>wrote: > >> I have a custom data import handler that creates an ExternalFileField from >> a source that is different from the main index. If the import fails (in my >> case, a connection refused in URLDataSource), I don't want to roll back any >> uncommitted changes to the main index. However, this seems to be the >> default behavior. Is there a way to override the IndexWriter rollback? >> >> Thanks, >> Peter >> -- Regards, Shalin Shekhar Mangar.