Hello,

I am writing a custom analyzer for my field type. This analyzer would need
to use SolrResourceLoader and SolrConfig, so I want to make it
SolrCoreAware.

However, it seems that Analyzer classes aren't supposed to be used in this
way (as described in http://wiki.apache.org/solr/SolrPlugins). Is there any
way to provide my analyzer with SolrCore?

The list of valid SolrCoreAware classes is in SolrResourceLoader (line 465
on current Solr trunk), so I could create a patch (which would enable
Analyzers to get SolrCore) for my Solr instance, but I would rather avoid
making patches just for myself (just complicates maintenance).

Thanks in advance,

Bojan

Reply via email to