[jira] [Created] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
Add support for type whitelist in TypeTokenFilter
-------------------------------------------------

                 Key: LUCENE-3744
                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
             Project: Lucene - Java
          Issue Type: Improvement
          Components: modules/analysis
            Reporter: Santiago M. Mola
            Priority: Trivial
         Attachments: TypeTokenFilter-whitelist.patch

A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)

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

Santiago M. Mola updated LUCENE-3744:
-------------------------------------

    Attachment: TypeTokenFilter-whitelist.patch

Add useWhitelist option to TypeTokenFilter.
               

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Priority: Trivial
>         Attachments: TypeTokenFilter-whitelist.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
In reply to this post by Hudson (Jira)

    [ https://issues.apache.org/jira/browse/LUCENE-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197834#comment-13197834 ]

Tommaso Teofili commented on LUCENE-3744:
-----------------------------------------

Hello Santiago,
would you mind also providing unit tests for the whitelist usage?

               

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Priority: Trivial
>         Attachments: TypeTokenFilter-whitelist.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
In reply to this post by Hudson (Jira)

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

Santiago M. Mola updated LUCENE-3744:
-------------------------------------

    Attachment: TypeTokenFilter_whitelst_lucene_and_solr.patch

Sure. Here's the patch with tests and Solr's factory changes.
               

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Priority: Trivial
>         Attachments: TypeTokenFilter-whitelist.patch, TypeTokenFilter_whitelst_lucene_and_solr.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
In reply to this post by Hudson (Jira)

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

Tommaso Teofili updated LUCENE-3744:
------------------------------------

    Attachment: LUCENE-3744_2.patch

Thanks Santiago, I updated the patch to split the Lucene changes from the Solr changes (will open a new Jira for the Solr factories changes).

               

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Priority: Trivial
>         Attachments: LUCENE-3744_2.patch, TypeTokenFilter-whitelist.patch, TypeTokenFilter_whitelst_lucene_and_solr.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
In reply to this post by Hudson (Jira)

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

Tommaso Teofili reassigned LUCENE-3744:
---------------------------------------

    Assignee: Tommaso Teofili
   

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Assignee: Tommaso Teofili
>            Priority: Trivial
>         Attachments: LUCENE-3744_2.patch, TypeTokenFilter-whitelist.patch, TypeTokenFilter_whitelst_lucene_and_solr.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
In reply to this post by Hudson (Jira)

    [ https://issues.apache.org/jira/browse/LUCENE-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199603#comment-13199603 ]

Tommaso Teofili commented on LUCENE-3744:
-----------------------------------------

applied on trunk r1240034
appliend on branch-3.x r1240035
               

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Assignee: Tommaso Teofili
>            Priority: Trivial
>         Attachments: LUCENE-3744_2.patch, TypeTokenFilter-whitelist.patch, TypeTokenFilter_whitelst_lucene_and_solr.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter

Hudson (Jira)
In reply to this post by Hudson (Jira)

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

Tommaso Teofili resolved LUCENE-3744.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.6
   

> Add support for type whitelist in TypeTokenFilter
> -------------------------------------------------
>
>                 Key: LUCENE-3744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3744
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Santiago M. Mola
>            Assignee: Tommaso Teofili
>            Priority: Trivial
>             Fix For: 3.6, 4.0
>
>         Attachments: LUCENE-3744_2.patch, TypeTokenFilter-whitelist.patch, TypeTokenFilter_whitelst_lucene_and_solr.patch
>
>
> A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]