lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dyer, James" <>
Subject RE: Spellchecker delivers far too few suggestions
Date Thu, 18 Dec 2014 15:46:24 GMT

If you would like to get suggestions even for terms occurring in the index, set "spellcheck.alternativeTermCount"
to a value >0 .  You can use the same value as for "spellcheck.count", or a lower value
if you want fewer results than for terms not in the index.


With this, you might also want to set "spellcheck.maxResultsForSuggest" to a value >0.
 This will prevent the spellchecker from doing work even when enough results returned that
you wouldn't want to suggest anything to the user.


Used with the "maxCollationTries" parameter, you should be getting fairly good "did-you-mean"-style


James Dyer
Ingram Content Group
(615) 213-4311

-----Original Message-----
From: Martin Dietze [] 
Sent: Thursday, December 18, 2014 3:02 AM
Subject: Re: Spellchecker delivers far too few suggestions

On 17 December 2014 at 18:08, Erick Erickson <> wrote:
> This is seeming like a puzzler...

I’ve got to the point that I do get suggestions if I find no document
at all. The problem was seemingly caused by the way I quoted my search

Still I don’t get suggestions for terms that are in the index. For
instance, if I create a document that contains the term “bnak”, I
would like to display a result like: “found one occurrence of ‘bnak’,
but did you mean: <list of suggestions>”.

Is there a setting I’ve missed?

---------- --/-- ----
------------- / / -------------

View raw message