[
https://issues.apache.org/jira/browse/SOLR-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552855
]
Ryan McKinley commented on SOLR-438:
------------------------------------
I'm not sure either is a good idea, but i'll throw it out there just for
arguments sake:
Option 1: check the arguments for names that start with "words":
{code:xml}
<filter ... words="stop1.txt" words01="stop2.txt" />
{code}
Option 2: change MapInitalizedPlugin from Map<String,String> to
Map<String,Object> (backwards compitable), then this could be:
{code:xml}
<filter ... words="stop1.txt" words="stop2.txt" />
{code}
the plugin loader could make a List<String> if the attribute shows up twice.
I'm sure that breaks some XML spec somewhere though...
> 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.