You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2015/02/05 22:25:35 UTC
[jira] [Updated] (SOLR-6912) config API for managing search
components
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org