There are two newer parameters that work better than "onlyMorePopular":

spellcheck.alternativeTermCount
- This is the # of suggestions you want for terms that exist in the index.  You 
can set it the same as "spellcheck.count", or less if you don't want as many 
suggestions for these.
http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.alternativeTermCount

spellcheck.maxResultsForSuggest
- This lets you give a "did-you-mean" suggestion if the query only gets a few 
hits.  Useful if the user enters a misspelled terms that is in the index but 
could have gotten a lot more results if they had spelled it correctly.
http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.maxResultsForSuggest

James Dyer
Ingram Content Group
(615) 213-4311

-----Original Message-----
From: Shreejay [mailto:shreej...@gmail.com] 
Sent: Friday, June 14, 2013 8:38 AM
To: solr-user@lucene.apache.org
Subject: Re: How spell checker used if indexed document is containing 
misspelled words

Hi,  

Have you tried this? 
http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.onlyMorePopular

Of course this is assuming that your corpus has correct words occurring more 
frequently than incorrect ones!  

-- 
Shreejay


On Friday, June 14, 2013 at 2:49, venkatesham.gu...@igate.com wrote:

> My data is picked from social media sites and misspelled words are very
> frequent in social text because of the informal mode of
> communication.Spellchecker does not work here because misspelled words are
> present in the text corpus and not in the search query. Finding documents
> with all the different misspelled forms for a given word is not possible
> using spellchecker, how to go ahead with this.
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-spell-checker-used-if-indexed-document-is-containing-misspelled-words-tp4070463.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 
> 

Reply via email to