[
https://issues.apache.org/jira/browse/SOLR-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259560#comment-14259560
]
Tomoko Uchida commented on SOLR-3055:
-------------------------------------
Thank you for your response.
I will add test codes and updated patch to consider other Tokenizers /
TokenFilters.
My patch seems to work well for both case, minGramSize == maxGramSize and
minGramSize != maxGramSize. But not optimized for maxGramSize.
In the case of minGramSize != maxGramSize, using maxGramSize for optimization
derives the best performance improvement. We can examine about that (maybe need
another issue.) In practice, we often set fixed gram size for CJK words as you
pointed, so I think it is beneficial even if it is not optimized for
maxGramSize.
> Use NGramPhraseQuery in Solr
> ----------------------------
>
> Key: SOLR-3055
> URL: https://issues.apache.org/jira/browse/SOLR-3055
> Project: Solr
> Issue Type: New Feature
> Components: Schema and Analysis, search
> Reporter: Koji Sekiguchi
> Priority: Minor
> Attachments: SOLR-3055-1.patch, SOLR-3055-2.patch, SOLR-3055.patch,
> schema.xml, solrconfig.xml
>
>
> Solr should use NGramPhraseQuery when searching with default slop on n-gram
> field.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]