I think when you set "count"/"alternativeTermCount" to zero, the defaults (10?) 
are used instead.  Instead of setting these to zero, just use 
"spellcheck=false".  These 2 parameters control suggestions, not collations.

To turn off collations, set "spellcheck.collate=false".  Also, I wouldn't set 
"maxCollationTries" as high as 100, as it could (sometimes) potentially check 
100 possibly collations against the index and that would be very slow.

James Dyer
Ingram Content Group


-----Original Message-----
From: Nitin Solanki [mailto:nitinml...@gmail.com] 
Sent: Wednesday, February 18, 2015 2:37 AM
To: solr-user@lucene.apache.org
Subject: Why collations are coming even I set the value of spellcheck.count to 
zero(0)

Hi Everyone,
                    I have set the value of spellcheck.count = 0 and
spellcheck.alternativeTermCount = 0. Even though collations are coming when
I search any query which is misspelled. Why so?
I also set the value of spellcheck.maxCollations = 100 and
spellcheck.maxCollationTries = 100. What I know that collations are built
on suggestions. So, Have I any misunderstanding about collation or any
other configuration issue. Any help Please?

Reply via email to