lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: SOLR-1106 - Custom Admin Action handler
Date Fri, 17 Apr 2009 21:55:04 GMT

: 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 

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.


View raw message