For the record, I don't believe they are checked if they are
ResourceLoaderAware either.
I have a pretty simple patch to fix it, assuming it is the right thing
to do, which I think it is given that other SearchComponents can be
core aware.
-Grant
On Jun 6, 2009, at 6:23 PM, Grant Ingersoll wrote:
Am I reading the SolrCore code correctly in that it seems to
indicate that the default SearchComponents are not checked if they
are SolrCoreAware due to the fact that they are not instantiated
with the SolrResourceLoader?
See the method loadSearchComponents() in SolrCore (around lines 907
or so)
I'm working on a new default component that I would like to be
SolrCoreAware and I noticed, during debugging, that it's inform
method is not being called.
Thanks,
Grant