[ https://issues.apache.org/jira/browse/LUCENE-7827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121782#comment-16121782 ]
Adrien Grand commented on LUCENE-7827: -------------------------------------- If there is a good use-case for it, it should be ok. I'd just do it in a separate issue and just handle the {{minPrefixChars=0}} corner-case in this one. > disable "textgrams" when minPrefixChars=0 AnalyzingInfixSuggester > ------------------------------------------------------------------ > > Key: LUCENE-7827 > URL: https://issues.apache.org/jira/browse/LUCENE-7827 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Mikhail Khludnev > Priority: Minor > Attachments: LUCENE-7827.patch, LUCENE-7827.patch, LUCENE-7827.patch, > LUCENE-7827.patch > > > The current code allows to set minPrefixChars=0, but it creates an > unnecessary {{textgrams}} field, and might bring significant footprint. > Bypassing it keeps existing tests green. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org