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

ASF subversion and git services commented on LUCENE-9259:
---------------------------------------------------------

Commit 7904b44f9da90edf546c521c17605d8d363dd0d6 in lucene-solr's branch 
refs/heads/branch_8x from Paul Pazderski
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7904b44 ]

LUCENE-9259: Fix wrong NGramFilterFactory argument name for preserveOriginal 
option


> NGramFilter use wrong argument name for preserve option
> -------------------------------------------------------
>
>                 Key: LUCENE-9259
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9259
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: 7.4, 8.0
>            Reporter: Paul Pazderski
>            Priority: Minor
>         Attachments: LUCENE-9259.patch
>
>
> LUCENE-7960 added the possibility to preserve the original term when using 
> NGram filters. The documentation says to enable it with 'preserveOriginal' 
> and it works for EdgeNGram filter. But NGram filter requires the initial 
> planned option 'keepShortTerms' to enable this feature.
> This inconsistency is confusing. I'll provide a patch with a possible fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to