There are two portions here: 1. To build a dictionary. Since you are using IndexBasedSpellChecker, you would have to tell Solr, what field from your index to build up the dictionary from. 2. To actually be able to search for your corrected spellings. For this you would need a new requestHandler, to query Solr.
1. Config settings for building a dictionary: <searchComponent name="spellcheck" class="solr.SpellCheckComponent"> <str name="queryAnalyzerFieldType"><Field Type></str> <lst name="spellchecker"> <str name="classname">solr.IndexBasedSpellChecker</str> <str name="lookupImpl">org.apache.solr.spelling.suggest.tst.FSTLookup</str> <str name="name">XYZ</str> <str name="field"><Field Name></str> <str name="buildOnOptimize">true</str> <str name="spellcheckIndexDir">./<Name of Dictionary></str> </lst> </searchComponent> 2. To make a requestHandler: <requestHandler name="/<NAME>" class="solr.SearchHandler"> <lst name="termSpell"> <str name="echoParams">explicit</str> <str name="spellcheck.onlyMorePopular">false</str> <str name="spellcheck.extendedResults">true</str> <str name="spellcheck.count">5</str> </lst> <arr name="last-components"> <str>spellcheck</str> </arr> </requestHandler> -- View this message in context: http://lucene.472066.n3.nabble.com/Configuring-SpellCehckComponent-tp4083731p4083842.html Sent from the Solr - User mailing list archive at Nabble.com.