I'm sorry, I don't see how the resource loader awareness is relevant to schema awareness? Or perhaps you didn't imply that? Good to know about the resource loader though. Although I'm not sure what the resource loader does at this point (but that's a side track).
I guess I use the core to get to the schema then. Hmm, I may recall trying that at some point but that I hit some problem with that, something like the schema not being present when getting core inform call. /Per 2012/12/5 Chris Hostetter <hossman_luc...@fucit.org> > > : So I'm creating a request handler plugin where I want to fetch some > values > : from the schema. I make it SchemaAware but the inform method is never > : called. I assume that there is some way of registering the instance as > : aware (and I have seen and used this before, although that information > : escapes me at this point). I can't find any documentation on this in > > http://wiki.apache.org/solr/SolrPlugins#Building_Plugins > > Because of lifecycle complexities, not all plugins can be > "ResourceLoaderAware" or "SolrCoreAware". > > If you want to initialize your RequestHandler with information from the > ResourceLoader, just make it SolrCoreAware and then in your > inform(SolrCore core) method you can call core.getResourceLoader(). > > > -Hoss >