lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject RE: permissive mm value and efficient spellchecking
Date Wed, 14 May 2014 12:20:05 GMT
Elisabeth, i think you are looking for SOLR-3211 that introduced spellcheck.collateParam.*
to override e.g. dismax settings.

-----Original message-----
From:elisabeth benoit <>
Sent:Wed 14-05-2014 14:01
Subject:permissive mm value and efficient spellchecking; 

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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message