lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomoko Uchida (JIRA)" <>
Subject [jira] [Commented] (SOLR-3055) Use NGramPhraseQuery in Solr
Date Sun, 28 Dec 2014 03:56:14 GMT


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:
>             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,
> Solr should use NGramPhraseQuery when searching with default slop on n-gram field.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message