You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/07/20 02:14:00 UTC

[jira] [Commented] (SOLR-12553) SignificantTermsQParserPlugin ignores local params

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

ASF subversion and git services commented on SOLR-12553:
--------------------------------------------------------

Commit f6e9d00b90ac624b05586b225b9cda7eb7ea60ae in lucene-solr's branch refs/heads/master from [~arafalov]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f6e9d00b ]

SOLR-12553: Check local params in SignificantTerms Query Parser


> SignificantTermsQParserPlugin ignores local params
> --------------------------------------------------
>
>                 Key: SOLR-12553
>                 URL: https://issues.apache.org/jira/browse/SOLR-12553
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: query parsers
>    Affects Versions: 7.4
>            Reporter: Alexandre Rafalovitch
>            Assignee: Alexandre Rafalovitch
>            Priority: Major
>         Attachments: SOLR-12553.patch
>
>
> _SignificantTermsQParserPlugin_ can take a number of parameters (field, numTerms, minTermLength, etc). However, only _field_ parameter can be local or global. The rest of parameters can only be global, which does not make sense. 
> The fix is to use _getParam()_ method consistently when getting the parameters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org