One exception affect the next doc building
------------------------------------------
Key: SOLR-2781
URL: https://issues.apache.org/jira/browse/SOLR-2781
Project: Solr
Issue Type: Bug
Components: contrib - DataImportHandler
Affects Versions: 3.4, 3.3, 3.2, 3.1, 1.4.1
Environment: jdk 1.6.0.16/Jboss 4.2
Reporter: Luo Jing
When DocBuilder catch an exception throwed by its child entity and
skip_doc=true, the next doc may contain the front doc's data of parent entity.
method buildDocument:
if (doc == null && entity.isDocRoot) {
doc = new DocWrapper();
....
suggestion:
if ( /*doc == null*/ && entity.isDocRoot) {
doc = new DocWrapper();
....
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]