You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2019/07/02 11:35:00 UTC
[jira] [Commented] (SOLR-13553) Node level custom RequestHandlers
[ https://issues.apache.org/jira/browse/SOLR-13553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876887#comment-16876887 ]
Andrzej Bialecki commented on SOLR-13553:
------------------------------------------
Why is a handler configuration put into {{clusterprops.json}} ? The normal place for this type of config is {{solr.xml}} which already hold configuration of some other container-level handlers.
I'm also confused why they should be deleted dynamically - perhaps there's a good reason for this but it's not stated. And if there's a delete API then why not an add/modify API?
> Node level custom RequestHandlers
> ---------------------------------
>
> Key: SOLR-13553
> URL: https://issues.apache.org/jira/browse/SOLR-13553
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
>
> These components
> * Available on every node
> * deployed at the {{CoreContainer}} level
> * Available at {{/solr/admin/<plugin-name> or {{/api/node/<plugin-name>}} (v2 style)
> * Should implement the {{SolrRequestHandler}} interface
> The configuration is persisted in {{clusterprops.json}}
> {code}
> curl -X POST -H 'Content-type:application/json' --data-binary '{
> "add-requesthandler": {
> "name": "/foo",
> "class" : "fully.qualified.ClassName"
>
> }
> }' http://localhost:8983/api/cluster
> {code}
> delete it using
> {code}
> curl -X POST -H 'Content-type:application/json' --data-binary '{
> "delete-requesthandler": "/foo"
> }' http://localhost:8983/api/cluster
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org