[
https://issues.apache.org/jira/browse/SOLR-12553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexandre Rafalovitch resolved SOLR-12553.
------------------------------------------
Resolution: Resolved
Fix Version/s: 7.5
getParam did not actually have a version that supported defaults. So, for now,
I've added this 3-line code in this file only. Does not seem like there is a
lot of demand for it in other places.
> 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
> Fix For: 7.5
>
> 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: [email protected]
For additional commands, e-mail: [email protected]