Okke, There is no way to have it both correct spelling and whitespace in the same correction. So unfortunately there is no easy fix for your use-case. The old shingle method of correcting whitespace might work for this, but it might also introduce other problems.
I saw your comments on SOLR-5386 and I appreciate your reminder about that issue. The easiest workaround is to put "spellcheck.maxCollationTries=0" in all of your warming queries. Better yet, just use "spellcheck=false" in the warming queries because having spellcheck enabled in the warming queries serves no purpose but to make searchers take longer to open. James Dyer Ingram Content Group -----Original Message----- From: O. Klein [mailto:kl...@octoweb.nl] Sent: Tuesday, February 10, 2015 9:51 AM To: solr-user@lucene.apache.org Subject: RE: alternativeTermCount and WordBreakSolrSpellChecker combination not working Thank you for that answer James. Increasing spellcheck.count did the trick. Funny result for query "holywood" the suggestion is "holy wood" instead of "hollywood". Eventhough I have a mm of 100%. Any way to fix that? BTW when using maxCollationTries Solr hangs on core reload. Apparantly an old bug, but hard to find as logs show nothing. Below the results for "holywood": "suggestions":[ "holywood",{ "numFound":4, "startOffset":0, "endOffset":8, "origFreq":4, "suggestion":[{ "word":"holy wood", "freq":70559}, { "word":"hollywood", "freq":2649}, { "word":"holyrood", "freq":14}, { "word":"homewood", "freq":737}]}, "correctlySpelled",false, "collation","(holy wood)"]}} -- View this message in context: http://lucene.472066.n3.nabble.com/alternativeTermCount-and-WordBreakSolrSpellChecker-combination-not-working-tp4185352p4185368.html Sent from the Solr - User mailing list archive at Nabble.com.