[
https://issues.apache.org/jira/browse/SOLR-6607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul updated SOLR-6607:
-----------------------------
Description:
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 can be registered from a jar file that is available in the
classpath of all nodes.
example for registering a component
{code}
curl http://localhost:8983/solr/collection1/config -H -d '{
"create-requesthandler" : {"name": "/mypath" ,
"class":"com.mycomponent.ClassName" , "defaults":{"x":"y"
"a":"b"}
}'
{code}
was:
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 can be registered from a jar file that is available in the
classpath of all nodes.
example for registering a component
{code}
curl http://localhost:8983/solr/collection1/config -H -d '{
"create-request-handler" : {"name": "/mypath" ,
"class":"com.mycomponent.ClassName" , "defaults":{"x":"y"
"a":"b"}
}'
{code}
> Registering pluggable components 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
>
> 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 can be registered from a jar file that is available in the
> classpath of all nodes.
> example for registering a component
> {code}
> curl http://localhost:8983/solr/collection1/config -H -d '{
> "create-requesthandler" : {"name": "/mypath" ,
> "class":"com.mycomponent.ClassName" , "defaults":{"x":"y"
> "a":"b"}
> }'
> {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]