lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <>
Subject [jira] Commented: (SOLR-438) Allow multiple stopword files
Date Wed, 19 Dec 2007 12:22:43 GMT


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:
>             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,
> 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.

View raw message