[ 
https://issues.apache.org/jira/browse/SOLR-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379713#comment-14379713
 ] 

ASF GitHub Bot commented on SOLR-7305:
--------------------------------------

GitHub user stephlag opened a pull request:

    https://github.com/apache/lucene-solr/pull/137

    Fix SOLR-7305

    Does not correct the underlying exception (which occurs on a core reload) 
but exposes the root cause

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stephlag/lucene-solr patch-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/137.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #137
    
----
commit fb5ea39ae242e3e5b36f8bb52b24a20ac5606d40
Author: Stephan L <[email protected]>
Date:   2015-03-25T11:28:45Z

    Fix SOLR-7305
    
    Does not correct the underlying exception (which occurs on a core reload) 
but exposes the root cause

----


> BlendedInfixLookupFactory swallows root ioexception when it occurs
> ------------------------------------------------------------------
>
>                 Key: SOLR-7305
>                 URL: https://issues.apache.org/jira/browse/SOLR-7305
>             Project: Solr
>          Issue Type: Bug
>          Components: Suggester
>    Affects Versions: 4.10.4, Trunk
>            Reporter: Stephan Lagraulet
>
> See BlendedInfixLookupFactory.java line 105:
> {code:java}
>     try {
>       return new 
> BlendedInfixSuggester(core.getSolrConfig().luceneMatchVersion, 
>                                        FSDirectory.open(new File(indexPath)),
>                                        indexAnalyzer, queryAnalyzer, 
> minPrefixChars,
>                                        blenderType, numFactor);
>     } catch (IOException e) {
>       throw new RuntimeException();
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to