Raised https://issues.apache.org/jira/browse/SOLR-8063


On Wed, Sep 16, 2015 at 3:35 PM, Mark Fenbers <mark.fenb...@noaa.gov> wrote:

> 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>
>>
>>
>>
>>
>>
>


-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to