lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r906906 - in /lucene/solr/trunk/contrib/dataimporthandler: CHANGES.txt src/main/java/org/apache/solr/handler/dataimport/DocBuilder.java
Date Fri, 05 Feb 2010 11:50:38 GMT
Author: noble
Date: Fri Feb  5 11:50:37 2010
New Revision: 906906

URL: http://svn.apache.org/viewvc?rev=906906&view=rev
Log:
SOLR-1759: $skipDoc was not working correctly

Modified:
    lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DocBuilder.java

Modified: lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt?rev=906906&r1=906905&r2=906906&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt (original)
+++ lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt Fri Feb  5 11:50:37 2010
@@ -53,6 +53,8 @@
 
 * 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
 ----------------------
 

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DocBuilder.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DocBuilder.java?rev=906906&r1=906905&r2=906906&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DocBuilder.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DocBuilder.java
Fri Feb  5 11:50:37 2010
@@ -635,6 +635,7 @@
           if (isRoot) {
             if (e.getErrCode() == DataImportHandlerException.SKIP) {
               importStatistics.skipDocCount.getAndIncrement();
+              doc = null;
             } else {
               LOG.error("Exception while processing: "
                       + entity.name + " document : " + doc, e);



Mime
View raw message