[jira] [Commented] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter
[ 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-3744) Add support for type whitelist in TypeTokenFilter
[ 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org