[ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated SOLR-253:
-------------------------------

    Description: 
Add a filter factory that only keeps tokens with text in the required word list.

 <filter class="solr.RequiredWordFilterFactory" ignoreCase="true" 
words="requiredwords.txt"  />

  was:
Use the StopFilterFactory to generate the inverse filter: one that only keeps 
tokes if it is in the list.

This patch adds "requiteWord" to the possible args:
 <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" 
requiteWord="true"/>

        Summary: Add a RequiredWordFilter that acts like the inverse of a 
StopFilter  (was: Optionally use the StopFilterFactory to only include words in 
the set)

> Add a RequiredWordFilter that acts like the inverse of a StopFilter
> -------------------------------------------------------------------
>
>                 Key: SOLR-253
>                 URL: https://issues.apache.org/jira/browse/SOLR-253
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-253-RequireWords.patch
>
>
> Add a filter factory that only keeps tokens with text in the required word 
> list.
>  <filter class="solr.RequiredWordFilterFactory" ignoreCase="true" 
> words="requiredwords.txt"  />

-- 
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