You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tommaso Teofili (Commented) (JIRA)" <ji...@apache.org> on 2012/01/19 18:09:40 UTC
[jira] [Commented] (LUCENE-3671) Add a TypeTokenFilter
[ https://issues.apache.org/jira/browse/LUCENE-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189206#comment-13189206 ]
Tommaso Teofili commented on LUCENE-3671:
-----------------------------------------
A very basic TypeTokenFilter can be implemented extending a FilteringTokenFilter where the accept() method checks on a stopType set for the typeAttribute.type() matching.
> Add a TypeTokenFilter
> ---------------------
>
> Key: LUCENE-3671
> URL: https://issues.apache.org/jira/browse/LUCENE-3671
> Project: Lucene - Java
> Issue Type: New Feature
> Components: core/queryparser
> Reporter: Santiago M. Mola
> Attachments: LUCENE-3671.patch
>
>
> It would be convenient to have a TypeTokenFilter that filters tokens by its type, either with an exclude or include list. This might be a stupid thing to provide for people who use Lucene directly, but it would be very useful to later expose it to Solr and other Lucene-backed search solutions.
--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org