List Info

Thread: Created: (SOLR-253) Optionally use the StopFilterFactory to only include words in the set




Created: (SOLR-253) Optionally use the StopFilterFactory to only include words in the set
country flaguser name
United States
2007-06-03 18:19:15
Optionally use the StopFilterFactory to only include words
in the set
------------------------------------------------------------
---------

                 Key: SOLR-253
                 URL: https:
//issues.apache.org/jira/browse/SOLR-253
             Project: Solr
          Issue Type: Improvement
            Reporter: Ryan McKinley
            Priority: Minor


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

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


Updated: (SOLR-253) Optionally use the StopFilterFactory to only include words in the set
country flaguser name
United States
2007-06-03 18:23:15
     [ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: SOLR-253-RequireWords.patch

simple patch and test

> Optionally use the StopFilterFactory to only include
words in the set
>
------------------------------------------------------------
---------
>
>                 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
>
>
> 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"/>

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


Commented: (SOLR-253) Optionally use the StopFilterFactory to only include words in the set
country flaguser name
United States
2007-06-03 18:40:15
    [ https://issues.apache.org/jira/browse/SO
LR-253?page=com.atlassian.jira.plugin.system.issuetabpanels:
comment-tabpanel#action_12501060 ] 

Ryan McKinley commented on SOLR-253:
------------------------------------

by "requiteWord"  I mean,  "requireWord"
;)

> Optionally use the StopFilterFactory to only include
words in the set
>
------------------------------------------------------------
---------
>
>                 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
>
>
> 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"/>

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


Commented: (SOLR-253) Optionally use the StopFilterFactory to only include words in the set
country flaguser name
United States
2007-06-03 18:49:15
    [ https://issues.apache.org/jira/browse/SO
LR-253?page=com.atlassian.jira.plugin.system.issuetabpanels:
comment-tabpanel#action_12501063 ] 

Hoss Man commented on SOLR-253:
-------------------------------

the first thing i thought when reading the description of
this issue was that it seemed like a strnage bastardization
of the StopFilter class ... looking at the patch i see it's
not even implemented in the StopFilter - it's a new
"GoFilter" class which makes me feel a lot
better.

I'd rather see a new "GoFilterFactory" class be
added then to have a conditional switch in StopFilterFactory
... people skimming a schema may not notice a requireWord
boolean on a StopFilterFactory declaration that completely
reverses the meaning of the declaration ... it would be
better to make it more obvious.

> Optionally use the StopFilterFactory to only include
words in the set
>
------------------------------------------------------------
---------
>
>                 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
>
>
> 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"/>

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


Updated: (SOLR-253) Add a RequiredWordFilter that acts like the inverse of a StopFilter
country flaguser name
United States
2007-06-03 20:01:16
     [ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atla
ssian.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.


Updated: (SOLR-253) Add a RequiredWordFilter that acts like the inverse of a StopFilter
country flaguser name
United States
2007-06-03 20:03:15
     [ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: SOLR-253-RequireWords.patch

Changed this to be its own Filter, rather then a hacked
StopFilter...

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


Updated: (SOLR-253) Add a RequiredWordFilter that acts like the inverse of a StopFilter
country flaguser name
United States
2007-06-04 01:29:00
     [ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: SOLR-253-RequireWords.patch

just realized I uploaded the wrong patch...  *this* one does
what I said!

> 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,
SOLR-253-RequireWords.patch, 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.


Assigned: (SOLR-253) Add a RequiredWordFilter that acts like the inverse of a StopFilter
country flaguser name
United States
2007-06-04 01:30:59
     [ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley reassigned SOLR-253:
----------------------------------

    Assignee: Ryan McKinley

> 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
>            Assignee: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-253-RequireWords.patch,
SOLR-253-RequireWords.patch, 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.


Resolved: (SOLR-253) Add a RequiredWordFilter that acts like the inverse of a StopFilter
country flaguser name
United States
2007-06-14 22:41:26
     [ 
https://issues.apache.org/jira/browse/SOLR-253?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-253.
--------------------------------

    Resolution: Fixed

added a while ago KeepWordsFilter

> 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
>            Assignee: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-253-RequireWords.patch,
SOLR-253-RequireWords.patch, 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.


[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )