You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/15 01:22:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-12553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch reassigned SOLR-12553:
--------------------------------------------

      Assignee: Alexandre Rafalovitch
    Attachment: SOLR-12553.patch

[~joel.bernstein] Does this make sense as a problem and the fix?

Also, I could not find any documentation for the Query Parser, I guess we need a separate Jira for that.

> 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