[ https://issues.apache.org/jira/browse/LUCENE-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264602#comment-14264602 ]
Robert Muir commented on LUCENE-6163: ------------------------------------- I don't think the optimization is safe if any tokenfilter modifies the tokens after ngram, it will give the wrong results. > Use NGramPhraseQuery via QueryBuilder > ------------------------------------- > > Key: LUCENE-6163 > URL: https://issues.apache.org/jira/browse/LUCENE-6163 > Project: Lucene - Core > Issue Type: New Feature > Components: core/other, modules/analysis > Affects Versions: 5.0 > Reporter: Tomoko Uchida > Priority: Minor > Attachments: LUCENE-6163.patch > > > This is derived from SOLR-3055. > To gain performance improvement of LUCENE-3426, QueryBuilder should generate > NGramPhraseQuery to optimize n-gram based phrase query. > (especially good for CJK languages, but the benefit is not limited to those.) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org