Make sure you have the onError=skip on the proper entity.

-- Jack Krupansky

-----Original Message----- From: Pranav Prakash Sent: Tuesday, June 12, 2012 3:47 PM To: solr-user@lucene.apache.org Subject: Unexpected DIH behavior for onError attribute
It seems that upon setting onError=skip, the DIH does not proceed to next
records in the db, and only unto those entries which were prior to an
error-causing record are being updated/added.

My db has 70K records. Of which record #17188 is illegal. When I had set
onError=abort, entire DIH operation was rolled back and nothing gets
added/updated. Upon setting onError=skip, only 17187 records were
added/updated. Upon setting onError=contine, only 17187 records were
added/updated.

Am I missing something or this is expected behavior?

*Pranav Prakash*

"temet nosce"

Reply via email to