cpoerschke commented on PR #931:
URL: https://github.com/apache/solr/pull/931#issuecomment-1183087347
> ... we can make an interface implying the action name definition ...
I wonder if with such an interface the `CoreAdminHandler` subclassing could
be more favourable after all e.g.
```
+ @Deprecated
protected void handleCustomAction(SolrQueryRequest req, SolrQueryResponse
rsp) {
...
}
+
+ protected Collection<CustomCoreAdminOp> getCustomCoreAdminOps() {
+ return Collections.emptyList();
+ }
```
i.e. no `solr.xml` change and also no mention of the hypothetical `foo` and
`bar` actions in `solr.xml` or `solrconfig.xml` i.e. if first there's only a
`foo` action and later `bar` is added then there's no need to change any
configuration at that later point in time, only the initial custom
`CoreAdminHandler` configuration change is needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]