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

2006-07-14 Thread Bertrand Delacretaz (JIRA)
 [ http://issues.apache.org/jira/browse/SOLR-27?page=all ]

Bertrand Delacretaz updated SOLR-27:


Attachment: SnowballPorterFilterFactory.patch

The single souce file to patch

 PATCH: Configurable language for SnowballPorterFilterFactory
 

  Key: SOLR-27
  URL: http://issues.apache.org/jira/browse/SOLR-27
  Project: Solr
 Type: Improvement

   Components: search
 Reporter: Bertrand Delacretaz
 Priority: Minor
  Attachments: 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



Re: setting appropriate content-type

2006-07-14 Thread Bill Au

Make sense to me too.

Bill

On 7/13/06, Chris Hostetter [EMAIL PROTECTED] wrote:



: response.setContentType(
: responseWriter.getContentType(solrReq, solrRsp) );

+1



-Hoss




[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