[ 
https://issues.apache.org/jira/browse/SOLR-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: https://issues.apache.org/jira/browse/SOLR-2668
>             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: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to