I set MinBreakWordLength = 3 thinking it would prevent
WordBreakSolrSpellChecker from suggesting corrections made up of
subwords shorter than 3 characters, but I still get suggestions like this:
query: Touch N' Match
suggestion: (t o u ch) 'n (m a t ch)
Can someone help me understand why? Here is the relevant portion of
solrconfig.xml:
<str name="spellcheck.dictionary">default</str>
<str name="spellcheck.dictionary">wordbreak</str>
<str name="spellcheck.count">10</str>
<str name="spellcheck.collate">true</str>
<str name="spellcheck.maxCollations">15</str>
<str name="spellcheck.maxCollationTries">100</str>
<str name="spellcheck.alternativeTermCount">4</str>
<str name="spellcheck.collateParam.mm">100%</str>
<str name="spellcheck.collateExtendedResults">true</str>
<str name="spellcheck.extendedResults">true</str>
<str name="spellcheck.maxResultsForSuggest">5</str>
<str name="spellcheck.MinBreakWordLength">3</str>
<str name="spellcheck.maxChanges">3</str>