[ https://issues.apache.org/jira/browse/SOLR-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404119#comment-13404119 ]
Andy Lester edited comment on SOLR-3584 at 6/29/12 6:58 PM: ------------------------------------------------------------ Relevant config from my solrconfig.xml {code:xml} <!-- Suggester from page 223 of Apache Solr 3 Enterprise Search Server --> <searchComponent name="suggest" class="solr.SpellCheckComponent"> <lst name="spellChecker"> <str name="classname">org.apache.solr.spelling.suggest.Suggester</str> <str name="lookupImpl">org.apache.solr.spelling.suggest.fst.FSTLookup</str> <str name="field">titlea</str> <float name="threshold">0.005</float> <str name="buildOnCommit">true</str> <int name="weightBuckets">100</int> </lst> </searchComponent> <requestHandler name="/suggest" class="solr.SearchHandler"> <lst name="defaults"> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">a_suggest</str> <str name="spellcheck.onlyMorePopular">true</str> <str name="spellcheck.count">5</str> <str name="spellcheck.collate">true</str> </lst> <arr name="components"> <str>suggest</str> </arr> </requestHandler> {code} was (Author: petdance): Relevant config from my solrconfig.xml {{ <!-- Suggester from page 223 of Apache Solr 3 Enterprise Search Server --> <searchComponent name="suggest" class="solr.SpellCheckComponent"> <lst name="spellChecker"> <str name="classname">org.apache.solr.spelling.suggest.Suggester</str> <str name="lookupImpl">org.apache.solr.spelling.suggest.fst.FSTLookup</str> <str name="field">titlea</str> <float name="threshold">0.005</float> <str name="buildOnCommit">true</str> <int name="weightBuckets">100</int> </lst> </searchComponent> <requestHandler name="/suggest" class="solr.SearchHandler"> <lst name="defaults"> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">a_suggest</str> <str name="spellcheck.onlyMorePopular">true</str> <str name="spellcheck.count">5</str> <str name="spellcheck.collate">true</str> </lst> <arr name="components"> <str>suggest</str> </arr> </requestHandler> }} > NPE when trying to spellcheck.build > ----------------------------------- > > Key: SOLR-3584 > URL: https://issues.apache.org/jira/browse/SOLR-3584 > Project: Solr > Issue Type: Bug > Components: spellchecker > Affects Versions: 3.6 > Environment: uname -a > Linux hostname 2.6.32-131.6.1.el6.x86_64 #1 SMP Mon Sep 26 10:18:37 GMT 2011 > x86_64 x86_64 x86_64 GNU/Linux > Reporter: Andy Lester > > I'm trying to force indexing of my spellchecker component on my "titles" core. > /solr/titles/suggest?q=at&spellcheck=true gives me back no results. > /solr/titles/suggest?q=at&spellcheck=true&spellcheck.build=true gives me an > NPE starting as > null java.lang.NullPointerException at > org.apache.solr.handler.component.SpellCheckComponent.prepare(SpellCheckComponent.java:109) > at .... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org