[ 
https://issues.apache.org/jira/browse/SOLR-18078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057964#comment-18057964
 ] 

Eric Pugh commented on SOLR-18078:
----------------------------------

I want to revisit this feature.   Since we have decided we won't make providing 
a custom ImplicitPlugins.json a thing, then right now you have two options: 1) 
remap offending end points to the NoOp equivaletns, or 2) this PR.   

Feels like the principal of least surprise is that if I can create things I can 
delete things. 

Setting up Solr I take two different paths.  One path is that I edit and 
customize solrconfig.xml, and do a lot in there. 

 

The other path, and the one I do when moving quickly, is to use ConfigSet API.  
When I use the ConfigSet API, I use the API to configure things, indeed I even 
write "migration" scripts to modify my schema and configuraiotn over time.  So 
it makes sense to me that I might want to mark things deleted things that Solr 
creates on start up with the implicitplugins file throught the ConfigSet API.

> Allow "deletion" of automatically created request handlers and query response 
> writers via API
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-18078
>                 URL: https://issues.apache.org/jira/browse/SOLR-18078
>             Project: Solr
>          Issue Type: Improvement
>          Components: config-api
>    Affects Versions: 9.10
>            Reporter: Eric Pugh
>            Assignee: Eric Pugh
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ImplicitPlugins.json defines a set of request handlers that EVERYONE gets.   
> You can't delete them right now.  So if you don't want to support /update/csv 
> well tough...   You *can* remap them to something else, keeping the name, so 
> maybe you could deal with it.
> What we really want is just to be able to call the api and do a delete:
>  
> POST /config \{"delete-requesthandler": "/admin/ping"}`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to