Hi, I'm using solr 4.6.1 spellcheck component for spelling suggestions. I configured it to use DirectSolrSpellChecker with default distance function and the comparator, which, as I understand, means the suggestions are ranked by Levenshtein edit distance (primary key), followed by document frequency (secodary key).
however, for the term '*papaer'*, the top suggestion is '*papier'*, which has far less document frequency than that of *paper*. both the alternatives are 1 edit distance away from '*papaer'*. Is this a bug or a quirk of the edit distance algorithm I don't understand? I've also posted the question on stackoverflow, along with my spellcheck config: https://stackoverflow.com/questions/31061644/solr-spellchecks-top-suggestion-is-unexpected Regards, -- Soubhik Bhattacharya