You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/01/06 16:11:36 UTC
[jira] [Commented] (SOLR-6607) Managing requesthandlers through API
[ https://issues.apache.org/jira/browse/SOLR-6607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266225#comment-14266225 ]
ASF subversion and git services commented on SOLR-6607:
-------------------------------------------------------
Commit 1649821 from [~noble.paul] in branch 'dev/trunk'
[ https://svn.apache.org/r1649821 ]
SOLR-6801 addressing test failures, SOLR-6607 supporting all initArgs for requesthandlers
> Managing requesthandlers through API
> ------------------------------------
>
> Key: SOLR-6607
> URL: https://issues.apache.org/jira/browse/SOLR-6607
> Project: Solr
> Issue Type: Sub-task
> Reporter: Noble Paul
> Assignee: Noble Paul
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6607.patch
>
>
> The concept of solrconfig editing is split into multiple pieces . This issue is about registering components and uploading binaries through an API.
> This supports multiple operations
> * commands 'create-requesthandler', "update-requesthandler","delete-requesthandler" which can set the configuration of a component . This configuration will be saved inside the configoverlay.json
> The components has to be available in the classpath of all nodes.
> example for registering a component
> {code}
> curl http://localhost:8983/solr/collection1/config -H 'Content-type:application/json' -d '{
> "create-requesthandler" : {"name": "/mypath" ,
> "class":"com.mycomponent.ClassName" ,
> "defaults":{"x":"y" ," a":"b"},
> "useParams":"x"
> },
> "update-requesthandler" :{"name": "/mypath" ,
> "class":"com.mycomponent.ClassName" ,
> "useParams":"y" ,
> "defaults":{"x":"y" ," a":"b"}
> },
> "delete-requesthandler" :"/mypath"
> }'
> {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