Elisabeth, i think you are looking for SOLR-3211 that introduced spellcheck.collateParam.* to override e.g. dismax settings.
Markus -----Original message----- From:elisabeth benoit <elisaelisael...@gmail.com> Sent:Wed 14-05-2014 14:01 Subject:permissive mm value and efficient spellchecking To:solr-user@lucene.apache.org; Hello, I'm using solr 4.2.1. I use a very permissive value for mm, to be able to find results even if request contains non relevant words. At the same time, I'd like to be able to do some efficient spellcheking with solrdirectspellchecker. So for instance, if user searches for "rue de Chraonne Paris", where Chraonne is mispelled, because of my permissive mm value I get more than 100 000 results containing words "rue" and "Paris" ("de" is a stopword), which are very frequent terms in my index, but no spellcheck correction for Chraonne. If I set mm=3, then I get the expected spellcheck correction value: "rue de Charonne Paris". Is there a way to achieve my two goals in a single solr request? Thanks, Elisabeth