lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Updated] (SOLR-2668) DIH - multithreaded DocBuilder ignores onError Attribute
Date Thu, 25 Aug 2011 11:13:29 GMT


Shalin Shekhar Mangar updated SOLR-2668:

    Attachment: SOLR-2668.patch

Fixed a bug in the tests. The index was not being emptied in tearDown so even after rollback,
the index had 4 documents.

Just to show that multi-threaded does honor the onError attribute, I've added a test which
uses a transformer which always fails.

The older two tests are used to demonstrate that both multi-threaded and serial mode show
the same characteristic for a failing entity processor.

> DIH - multithreaded DocBuilder ignores onError Attribute
> --------------------------------------------------------
>                 Key: SOLR-2668
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.3
>            Reporter: Frank Wesemann
>            Assignee: Shalin Shekhar Mangar
>         Attachments: SOLR-2668.patch, SOLR-2668.patch, SOLR-2668.patch
> If the EntityProcessor of a subentity throws an Exception in its init() Method, DocBuilder
ignores onError=continue or skip attributes on the parent entity. DocBuilder stops immediately
and logs "Import completed successfully".

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message