jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r423547 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
Date Wed, 19 Jul 2006 18:00:24 GMT
Author: jukka
Date: Wed Jul 19 11:00:23 2006
New Revision: 423547

URL: http://svn.apache.org/viewvc?rev=423547&view=rev
Log:
JCR-299: Catch and log all exceptions (even unchecked ones) thrown by the index filters.

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java?rev=423547&r1=423546&r2=423547&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
Wed Jul 19 11:00:23 2006
@@ -302,10 +302,8 @@
                     doc.add(Field.Text(field, r));
                 }
             }
-        } catch (ItemStateException e) {
-            log.warn("Exception while indexing binary property: " + e.toString());
-            log.debug("Dump: ", e);
-        } catch (RepositoryException e) {
+        } catch (Exception e) {
+            // TODO: How to recover from a transient indexing failure?
             log.warn("Exception while indexing binary property: " + e.toString());
             log.debug("Dump: ", e);
         }



Mime
View raw message