lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dyer, James" <>
Subject RE: using spell check on phrases
Date Fri, 10 Jun 2016 20:24:06 GMT

If your query has "mm" set to zero or a low value, then you may want to override this when
the spellchecker checks possible collations.  For example:

You may also want to consider adding "spellcheck.maxResultsForSuggest" to your query, so that
it will return spelling suggestions even when the query returns some results.  Also if you
set "spellcheck.alternativeTermCount", then it will try to correct all of the query keywords,
including those that exist in the dictionary.

See for more information.

James Dyer
Ingram Content Group

-----Original Message-----
From: kaveh minooie [] 
Sent: Monday, June 06, 2016 8:19 PM
Subject: using spell check on phrases

Hi everyone

I am using solr 6 and DirectSolrSpellChecker, and edismax parser. the 
problem that I am having is that when the query is a phrase, every 
single word in the phrase need to be misspelled for the spell checker to 
gets activated and gives suggestions. if only one of the word is 
misspelled then it just says that spelling is correct:
<bool name="correctlySpelled">true</bool>

I was wondering if anyone has encountered this situation before and 
knows how to solve it?


Kaveh Minooie

View raw message