Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12553

SignificantTermsQParserPlugin ignores local params

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: 7.4
    • Fix Version/s: 7.5
    • Component/s: query parsers
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              arafalov Alexandre Rafalovitch
              Reporter:
              arafalov Alexandre Rafalovitch

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment