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

Yonik Seeley commented on SOLR-438:
-----------------------------------

File.pathSeparator makes it platform specific and doesn't solve the problem of 
what to do if the separator is in the filename (it's a Java concept not an OS 
concept), so you *still* have to do escaping if you want to support all 
filenames.

I'd just pick a logical separator ("," seemed fine to me) and allow backslash 
escaping in the unlikely event that the filename is really weird.  Any bets 
that no one has configured a word list filename with a "," in it anyway?


> 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