ALP YILANCIOGLU created SOLR-4091: ------------------------------------- Summary: Suggester Component exception null:String cannot be cast to Float Key: SOLR-4091 URL: https://issues.apache.org/jira/browse/SOLR-4091 Project: Solr Issue Type: Bug Components: clients - java Environment: Apache Solr 4.0 - Tomcat 7.0 - Java 1.6 Reporter: ALP YILANCIOGLU Priority: Critical
I am new to apache solr, i deployed the war ( solr 4.0 ) file to tomcat 7.0 and than i set the paths for the cores. i started the server .. and every thing worked fine after that i am setting the suggester component to one of the cores, by adding the following lines to it. bu unfortunetly i am getting an exception on start up of the server when i look at the admin core page.. which is : null:org.apache.solr.common.SolrException: java.lang.String cannot be cast to java.lang.Float what should i do, (i found some patches but they are for solr 3.x i am using 4.0 ) <searchComponent name="suggester" class="solr.SpellCheckComponent"> <lst name="spellchecker"> <str name="name">suggester</str> <str name="classname">org.apache.solr.spelling.suggest.Suggester</str> <str name="loopupImpl">org.apache.solr.spelling.suggest.tst.TSTLookup</str> <str name="field">name</str> <str name="threshold">2</str> </lst> </searchComponent> <requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggester"> <lst name="defaults"> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">suggester</str> <str name="spellcheck.count">10</str> </lst> <arr name="components"> <str>suggester</str> </arr> </requestHandler> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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