From 29c1de0fa8958b5cd6ada921ddbaaeb68c95c481 Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Wed, 25 Mar 2015 17:41:51 +0000 Subject: [PATCH] SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs. This closes #137 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669180 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 4 +++- .../solr/spelling/suggest/fst/BlendedInfixLookupFactory.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 1ad2b74132e..f2fa0ee9be5 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -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 ---------------------- diff --git a/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java b/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java index b7c6bf42850..1b92d1828c9 100644 --- a/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java +++ b/solr/core/src/java/org/apache/solr/spelling/suggest/fst/BlendedInfixLookupFactory.java @@ -132,7 +132,7 @@ public class BlendedInfixLookupFactory extends AnalyzingInfixLookupFactory { } }; } catch (IOException e) { - throw new RuntimeException(); + throw new RuntimeException(e); } }