[ 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org