[ 
https://issues.apache.org/jira/browse/SOLR-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553319
 ] 

Otis Gospodnetic commented on SOLR-438:
---------------------------------------

Hoss - duh, why didn't I think of that? ;)  That sounds good to me.  That's 
what comments are for.

Before I read this I was going to do (new File(attribVal).exists()) type of a 
check if the attribVal has a comma and split only if file doesn't exist.  But I 
like your suggestion better - keep the code clean.

But there is currently no other "common" place for this, right?
Maybe add String[] getStrings(String) to BaseTokenFilterFactory ?


> Allow multiple stopword files
> -----------------------------
>
>                 Key: SOLR-438
>                 URL: https://issues.apache.org/jira/browse/SOLR-438
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Otis Gospodnetic
>            Assignee: Otis Gospodnetic
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-438.patch
>
>
> It wouldn't hurt Solr (StopFilterFactory) to allow one to specify multiple 
> stopword files.
> I've patched Solr to support this, for example:
>         <filter class="solr.StopFilterFactory" ignoreCase="true" 
> words="hr_stopwords.txt, hr_stopmorphemes.txt"/>
> I'll upload a patch shortly and commit later this week.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to