I'm building my spellcheck index from my content and it seems to be working, but my problem is that there are a few misspelled words in my content. For example: the word Sheriff is improperly misspelled Sherrif in my content a couple dozen times (but spelled correctly a couple thousand times). The results of the spellcheck at first glance indicate that the word is spelled correctly because it is found in the spellcheck dictionary and has valid search results. Adding a spellcheck.onlyMorePopular=true to the query results in the spellcheck returning additional suggestions, but none of them are for the correct spelling of the word:
<arr name="suggestion"> <lst> <str name="word"> sherriff </str> <int name="freq"> 10 </int> </lst> <lst> <str name="word"> sherri </str> <int name="freq"> 2319 </int> </lst> <lst> <str name="word"> sherril </str> <int name="freq"> 155 </int> </lst> <lst> <str name="word"> sherif </str> <int name="freq"> 19 </int> </lst> <lst> <str name="word"> sherric </str> <int name="freq"> 4 </int> </lst> </arr> is this just a strange glitch in my spellcheck dictionary based on my content? What is strange, is sending the spellcheck sherriff (which is another misspelling that has results in the index) results in the spellcheck sending back the correct spelling as the top result.