hi hoss .I am adding the responses to the issue https://issues.apache.org/jira/browse/SOLR-1106
On Sat, Apr 18, 2009 at 3:25 AM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : For one of our projects - we need custom admin monitoring hooks that gets > : access to multiple cores for a given solr web app (through the CoreContainer > : interface). > > i've only skimed the back and forth in this thread (and in the issue > comments) but i'm wondering why/if this specificaly needs to be done as > extensions to the CoreAdminHandler? > > Any Core can get access to the CoreContainer (via > core.getCoreDescriptor().getCoreContainer()) and all of the SolrCores it > is managing, so couldn't these new hooks you need be implented in regular > RequestHandler? > > I ask this from the "how to achieve a niche goal with the minimal number > of invasive changes" standpoint -- mainly because i don't really > understand what new types of "monitoring hooks" you're thinking of. if > they seem like something that would be generally useful to lots of people, > why not add them to CoreAdminHandler? if they *pattern* of adding them > seems like something that will come up for lots of people *then* i would > worry about making CoreAdminHandler more extensible. > > > > -Hoss > > -- --Noble Paul