[
https://issues.apache.org/jira/browse/SOLR-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Geoffrey Young updated SOLR-648:
--------------------------------
Description:
from
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200807.mbox/[EMAIL
PROTECTED]
"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."
was:
from
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200807.mbox/[EMAIL
PROTECTED]:
"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."
> 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
>
> from
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200807.mbox/[EMAIL
> PROTECTED]
> "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.