[jira] Commented: (SOLR-27) PATCH: Configurable language for SnowballPorterFilterFactory

2006-07-17 Thread Yonik Seeley (JIRA)
[ 
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




[jira] Commented: (SOLR-27) PATCH: Configurable language for SnowballPorterFilterFactory

2006-07-14 Thread Yonik Seeley (JIRA)
[ 
http://issues.apache.org/jira/browse/SOLR-27?page=comments#action_12421117 ] 

Yonik Seeley commented on SOLR-27:
--

In the case that the filter is used in a schema more than once, it looks like 
the default language will be whatever was specified last time (or English if 
first).  Was that the intent?

 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