[ 
http://issues.apache.org/jira/browse/SOLR-27?page=comments#action_12421622 ] 
            
Yonik Seeley commented on SOLR-27:
----------------------------------

Oops, you're right.  A new factory is created for each use in the schema.


> PATCH: Configurable language for SnowballPorterFilterFactory
> ------------------------------------------------------------
>
>                 Key: SOLR-27
>                 URL: http://issues.apache.org/jira/browse/SOLR-27
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: SnowballPorterFilterFactory.java, 
> SnowballPorterFilterFactory.patch
>
>
> With this patch, the language used by SnowballPorterFilterFactory is 
> configurable, for example:
>   <filter class="solr.SnowballPorterFilterFactory" language="French"/>
> Invalid languages will cause a ClassNotFoundException when the filter is 
> created (so at search time possibly, not at initialization time).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to