You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Paul Pazderski (Jira)" <ji...@apache.org> on 2020/03/03 13:52:00 UTC

[jira] [Created] (LUCENE-9259) NGramFilter use wrong argument name for preserve option

Paul Pazderski created LUCENE-9259:
--------------------------------------

             Summary: 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: 8.0, 7.4
            Reporter: Paul Pazderski


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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org