lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r816117 - /lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
Date Thu, 17 Sep 2009 09:59:11 GMT
Author: noble
Date: Thu Sep 17 09:59:10 2009
New Revision: 816117

URL: http://svn.apache.org/viewvc?rev=816117&view=rev
Log:
no need to handle two exceptions

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

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java?rev=816117&r1=816116&r2=816117&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java
Thu Sep 17 09:59:10 2009
@@ -73,9 +73,6 @@
       command.overwritePending = true;
       command.overwriteCommitted = true;
       processor.processAdd(command);
-    } catch (IOException e) {
-      log.error("Exception while adding: " + d, e);
-      return false;
     } catch (Exception e) {
       log.warn("Error creating document : " + d, e);
       return false;



Mime
View raw message