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
The searchComponent would be placed in your solrconfig.xml. There is no
specific place for it. This is what the comment in you solrconfig.xml says:
Search Components
Search components are registered to SolrCore and used by
instances of SearchHandler (which can access them by name)