It isn't exactly what you want, but did you try with the "onlyMorePopular" parameter?
http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.onlyMorePopular Regards, Juan Grande On Wed, Jan 12, 2011 at 7:29 AM, satya swaroop <satya.yada...@gmail.com>wrote: > Hi stefan, > I need the words from the index record itself. If java is given > then the relevant or similar or near words in the index should be shown. > Even the given keyword is true... can it be possible??? > > > ex:- > > > http://localhost:8080/solr/spellcheckCompRH?q=java&rows=0&spellcheck=true&spellcheck.count=10 > In the o/p the suggestions will not be coming as > java is a word that spelt correctly... > But cant we get near suggestions as javax,javac....etc.., ???(the > terms in the index) > > I read about suggester in solr wiki at > http://wiki.apache.org/solr/Suggester . But i tried to implement it but > got > errors as > > *error loading class org.apache.solr.spelling.suggest.suggester* > > Regards, > satya >