Taking a look into the code :
The spellcheck.alternativeTermCount Parameter

Specify the number of suggestions to return for each query term existing in
the index and/or dictionary. Presumably, users will want fewer suggestions
for words with docFrequency>0. Also setting this value turns "on"
context-sensitive spell suggestions.


This parameter , if set to 0, should basically avoid suggestions if you get
a correctly spelled term.

The default value is 0 for that.

So it is weird you get the suggestions, you could debug that bit and see,
unfortunately I don't have time right now !


Cheers


On Sat, Jun 11, 2016 at 1:11 AM, khawar yunus <khawa...@gmail.com> wrote:

> I am in the same boat as you.  did you figure out why it does that?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/solr-spellcheck-suggest-correct-word-when-FileBasedSpellChecker-tp4138769p4281821.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to