Support Resources being set in Analysis Factories via setters
-------------------------------------------------------------

                 Key: SOLR-2360
                 URL: https://issues.apache.org/jira/browse/SOLR-2360
             Project: Solr
          Issue Type: Improvement
          Components: Schema and Analysis
            Reporter: Chris Male


Currently TokenFilterFactories etc, tend to load their resources via 
ResourceLoader.  This requires Factories to know the name of the resources and 
inhibits testing since resources must exist as actual files that the 
ResourceLoader can load.  We should detach the Factories from ResourceLoader by 
supporting resource injection into Factories through setters.

This will have an additional benefit of making it clearer what resources a 
Factory needs.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to