The SolrConfig.Initializable interface was introduced as part of SOLR-215 to give Token(izer|Filter)Factories access to the SolrConfig (i believe just because StopFilter and SynonymFilter needed getLines)

I can't help but wonder if it would make more sense to replace this with something like "SolrCore.Initializable" ... you can get a SolrConfig from a SolrCore, but you can't get a SolrCore from a SolrConfig.

This would be a big help for things like SOLR-319.

Is there any particular reason why it would be bad to pass the SolrCore to the init method instead of the SolrConfig?



-Hoss

Reply via email to