You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2019/03/28 18:03:00 UTC

[jira] [Commented] (LUCENE-8745) SynonymGraphFilter to optionally skip keywords

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

Alan Woodward commented on LUCENE-8745:
---------------------------------------

Can you not use a ConditionalTokenFilter for this?

> SynonymGraphFilter to optionally skip keywords
> ----------------------------------------------
>
>                 Key: LUCENE-8745
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8745
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Markus Jelsma
>            Priority: Major
>             Fix For: 8.1, master (9.0)
>
>         Attachments: LUCENE-8745.patch
>
>
> Right now, SynonymGraphFilter operates on the original input term, and the repeated term that is marked as Keyword. This issue is to optionally keep it from operating on the term marked as Keyword, just as like stemmers (should) behave.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org