mirror of https://github.com/apache/lucene.git
SOLR-1759: $skipDoc was not working correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@906906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c96611b8f1
commit
72638ac32a
|
@ -53,6 +53,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-1598: Reader used in PlainTextEntityProcessor is not explicitly closed (Sascha Szott via noble)
|
||||
|
||||
* SOLR-1759: $skipDoc was not working correctly (Gian Marco Tagliani via noble)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -635,6 +635,7 @@ public class DocBuilder {
|
|||
if (isRoot) {
|
||||
if (e.getErrCode() == DataImportHandlerException.SKIP) {
|
||||
importStatistics.skipDocCount.getAndIncrement();
|
||||
doc = null;
|
||||
} else {
|
||||
LOG.error("Exception while processing: "
|
||||
+ entity.name + " document : " + doc, e);
|
||||
|
|
Loading…
Reference in New Issue