Indeed! <float> should be changed to <str> in the "Spell Checking" document (https://cwiki.apache.org/confluence/display/solr/Spell+Checking) and in all the baseline solrconfig.xml files provided in the distribution. In addition, '<str name="distanceMeasure"> internal</str>' should be removed/changed in the same document and same solrconfig.xml files because "internal" is not defined in AbstractLuceneSpellchecker.java! Once I edited these two problems in my own solrconfig.xml, the stacktrace errors went away!! Yay!

But I'm not out of the woods yet! I'll resume later, after our system upgrade today.

Thanks!
Mark

On 9/16/2015 8:03 AM, Mikhail Khludnev wrote:
https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/spelling/AbstractLuceneSpellChecker.java#L97
this mean that

<float name="accuracy">0.5</float>

should be replaced to

<str name="accuracy">0.5</str>





Reply via email to