On Sep 3, 2010, at 6:02 AM, Xavier Schepler wrote: > Hi, > > When I take the two letters from the middle of a word and put the first in > place of the second and the second in place of the first, ex : jospin => > jopsin, I don't get any suggestion from the spellchecker component. > > I tryed the default algorithm and the Jaro Winkler Distance, with a coeff of > 0.5. > > Errors like : > "jospni" instead of "jospin" > "josipn" instead of "jospin" > "ojspin" instead of "jospin" > ... > > are successfully corrected. > > But "jopsin" instead of "jospin" returns no suggestion and I wonder why.
Is "jopsin" in your index? In these cases, I usually lower the accuracy down to 0 and see what the score is. Would be nice if spell checker had an explain method. > > Has anyone else encountered this error ? -------------------------- Grant Ingersoll http://lucenerevolution.org Apache Lucene/Solr Conference, Boston Oct 7-8