lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3055) Use NGramPhraseQuery in Solr
Date Sun, 28 Dec 2014 02:43:13 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259553#comment-14259553
] 

Koji Sekiguchi commented on SOLR-3055:
--------------------------------------

Hi Uchida-san, thank you for your effort for reworking this issue!

According to your observation (pros and cons), I like the 1st strategy to go on. And if you
agree, why don't you add test cases for that one? And also, don't we need to consider other
n-gram type Tokenizers even TokenFilters, such as NGramTokenFilter and CJKBigramFilter?

And, I think there is a restriction when minGramSize != maxGramSize. If it's not significant,
I think we can examine the restriction separately from this issue because we rarely set different
values to those for searching CJK words. But we use a lot NGramTokenizer with fixed gram size
for searching CJK words, and we could get a nice performance gain by the patch as you've showed
us.

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


Mime
View raw message