Noble Paul created SOLR-8104:
--------------------------------

             Summary: config API does not work for spellchecker
                 Key: SOLR-8104
                 URL: https://issues.apache.org/jira/browse/SOLR-8104
             Project: Solr
          Issue Type: Bug
            Reporter: Noble Paul
            Assignee: Noble Paul


A command as follows fails
{code}
curl http://localhost:8983/solr/gettingstarted/config -H 
'Content-type:application/json'  -d '
{
    "add-searchcomponent": {
        "name": "myspellcheck",
        "class": "solr.SpellCheckComponent",
        "queryAnalyzerFieldType": "text_general",
        "spellchecker": {
            "name": "default",
            "field": "_text_",
            "classname": "solr.DirectSolrSpellChecker"
        }
    }
}'
{code}

and there is no possible alternative



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to