You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2015/03/25 18:41:52 UTC

svn commit: r1669180 - in /lucene/dev/trunk/solr: CHANGES.txt core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java

Author: shalin
Date: Wed Mar 25 17:41:51 2015
New Revision: 1669180

URL: http://svn.apache.org/r1669180
Log:
SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs. This closes #137

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1669180&r1=1669179&r2=1669180&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Wed Mar 25 17:41:51 2015
@@ -294,7 +294,9 @@ Bug Fixes
 
 * SOLR-7254: Make an invalid negative start/rows throw a HTTP 400 error (Bad Request) instead
   of causing a 500 error.  (Ramkumar Aiyengar, Hrishikesh Gadre, yonik)
- 
+
+* SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs.
+  (Stephan Lagraulet via shalin)
 
 Optimizations
 ----------------------

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java?rev=1669180&r1=1669179&r2=1669180&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java Wed Mar 25 17:41:51 2015
@@ -132,7 +132,7 @@ public class BlendedInfixLookupFactory e
         }
       };
     } catch (IOException e) {
-      throw new RuntimeException();
+      throw new RuntimeException(e);
     }
   }