ijioio commented on PR #931:
URL: https://github.com/apache/solr/pull/931#issuecomment-1184410660

   > Not yet checked if `<requestHandler name="/admin" 
class="com.ijioio.solr.CoreAdminHandler"/>` is possible.
   
   It is not, you can't redefine admin handler via `solrconfig.xml`. It is a 
special global instance scale handler, not core/collection scale handler, so 
only one common instance is possible, it it expected to be redefined via 
`solr.xml`:
   
   `org.apache.solr.handler.admin.CoreAdminHandler`
   
   ```java
     @Override
     public final void init(NamedList<?> args) {
       throw new SolrException(
           SolrException.ErrorCode.SERVER_ERROR,
           "CoreAdminHandler should not be configured in solrconf.xml\n"
               + "it is a special Handler configured directly by the 
RequestDispatcher");
     }
   ```
   
   


-- 
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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to