[ 
https://issues.apache.org/jira/browse/SOLR-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-6912:
-----------------------------
    Attachment: SOLR-6912.patch

this is an omnibus patch which takes care of all components with a "name"

> config API for managing 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
>         Attachments: SOLR-6912.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to