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

ASF subversion and git services commented on SOLR-5090:
-------------------------------------------------------

Commit 1592821 from [email protected] in branch 'dev/branches/lucene_solr_4_8'
[ https://svn.apache.org/r1592821 ]

Merge back several "low hanging" bug fixes into the 4.8 branch...
SOLR-6029: r1590867
SOLR-6030: r1591555
SOLR-6037: r1591800
SOLR-6023: r1592195
SOLR-5090: r1592591
SOLR-6039: r1592605
SOLR-5993: r1588415
SOLR-5904: r1587702

> NPE in DirectSpellChecker with alternativeTermCount and mm.
> -----------------------------------------------------------
>
>                 Key: SOLR-5090
>                 URL: https://issues.apache.org/jira/browse/SOLR-5090
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 4.4
>         Environment: 4.4.0 1504776 - sarowe - 2013-07-19 02:58:35
>            Reporter: Markus Jelsma
>            Assignee: James Dyer
>             Fix For: 4.9, 5.0
>
>         Attachments: SOLR-5090.patch, SOLR-5090.patch
>
>
> Query with three terms of which one is misspelled and 
> spellcheck.alternativeTermCount=0&mm=3 yields the following NPE:
> {code}
> ERROR org.apache.solr.servlet.SolrDispatchFilter  – 
> null:java.lang.NullPointerException
>         at 
> org.apache.lucene.search.spell.DirectSpellChecker.suggestSimilar(DirectSpellChecker.java:422)
>         at 
> org.apache.lucene.search.spell.DirectSpellChecker.suggestSimilar(DirectSpellChecker.java:355)
>         at 
> org.apache.solr.spelling.DirectSolrSpellChecker.getSuggestions(DirectSolrSpellChecker.java:189)
>         at 
> org.apache.solr.handler.component.SpellCheckComponent.process(SpellCheckComponent.java:188)
>         at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:208)
>         at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1904)
>         at 
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:659)
>         at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:362)
>         at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to