lucene-dev mailing list archives

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

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message