lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2360) Support Resources being set in Analysis Factories via setters
Date Thu, 10 Feb 2011 23:52:57 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message