Noble Paul created SOLR-6912:
--------------------------------

             Summary: config API for manging search components
                 Key: SOLR-6912
                 URL: https://issues.apache.org/jira/browse/SOLR-6912
             Project: Solr
          Issue Type: Sub-task
            Reporter: Noble Paul
            Assignee: Noble Paul


example
{code}
curl http://localhost:8983/solr/collection1/config -H 
'Content-type:application/json'  -d '{
"create-searchcomponent" : {"name": "spell" ,
                                          "class":"solr.SpellCheckComponent" , 
"queryAnalyzerFieldType":"text_general" 
                                      
                                         },
"update-searchcomponent" :{"name": "spell" ,
                                          "class":"solr.SpellCheckComponent" ,
                                           "queryAnalyzerFieldType":"text_es" 
                                         },
"delete-searchcomponent" :"spell" 
}'

{code}



--
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