+1

On Tue, Apr 24, 2018 at 9:58 AM, Alan Woodward (JIRA) <j...@apache.org>
wrote:

>
>     [ https://issues.apache.org/jira/browse/LUCENE-8273?page=
> com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=16449897#comment-16449897 ]
>
> Alan Woodward commented on LUCENE-8273:
> ---------------------------------------
>
> I added this to core rather than to the analysis module as it seems to me
> to be a utility class like FilteringTokenFilter, which is also in core.
> But I'm perfectly happy to move it to analysis-common if that makes more
> sense to others.
>
> > Add a BypassingTokenFilter
> > --------------------------
> >
> >                 Key: LUCENE-8273
> >                 URL: https://issues.apache.org/jira/browse/LUCENE-8273
> >             Project: Lucene - Core
> >          Issue Type: New Feature
> >            Reporter: Alan Woodward
> >            Priority: Major
> >         Attachments: LUCENE-8273.patch
> >
> >
> > Spinoff of LUCENE-8265.  It would be useful to be able to wrap a
> TokenFilter in such a way that it could optionally be bypassed based on the
> current state of the TokenStream.  This could be used to, for example, only
> apply WordDelimiterFilter to terms that contain hyphens.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>

Reply via email to