lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SOLR-648) SpellcheckComponent throws NullPointerException on restart without build
Date Fri, 25 Jul 2008 14:31:31 GMT

     [ https://issues.apache.org/jira/browse/SOLR-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar resolved SOLR-648.
----------------------------------------

    Resolution: Fixed

Committed.

Thanks Jonathan and Geoffrey!

> SpellcheckComponent throws NullPointerException on restart without build
> ------------------------------------------------------------------------
>
>                 Key: SOLR-648
>                 URL: https://issues.apache.org/jira/browse/SOLR-648
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Geoffrey Young
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.3
>
>         Attachments: SOLR-648.patch, SOLR-648.patch, SOLR-648.patch
>
>
> from http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200807.mbox/%3cC4AC838E.ADE7%25jonathan_lee@comcast.com%3e
> "I believe there is a bug in IndexBased- and FileBasedSpellChecker.java
> where the analyzer variable is only set on the build command. Therefore,
> when the index is reloaded, but not built after starting solr, issuing a
> query with the spellcheck.q parameter will cause a NullPointerException to
> be thrown (SpellCheckComponent.java:158). Moving the analyzer logic to the
> constructor seems to fix the problem."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message