Howdy, I was wondering what the best way is to access the current instance of CoreContainer? It seems like the only way to do this is to extend CoreAdminHandler. I'd prefer a way via a way to access CoreContainer from SolrCore or RequestHandlerBase.
The use case is, I want to implement a SearchHandler that by default, searches all of the local cores by automatically inserting a shards param of the form "localhost:8080/solr/core0,localhost:8080/solr/core1" into the request. I'll be dynamically creating and unloading cores and so do not want to edit solrconfig each time a core changes. Thanks!