I would like to add the following searchHandler to my solr core locally:
<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
<str name="queryAnalyzerFieldType">spell_checking_text</str>
<lst name="spellchecker">
<str name="name">spellchecker</str>
<str name="field">spellchecker</str>
<str name="classname">solr.DirectSolrSpellChecker</str>
</lst>
</searchComponent>
Is there any way to do this through cURL?
If you want to add a searchComponent through cURL, here is an example:
Depending on the version of Solr you are using, here you can find the relative reference guide. This is for the latest Solr version.