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

SignificantTermsQParserPlugin ignores local params

    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

        1. SOLR-12553.patch
          2 kB
          Alexandre Rafalovitch

          Activity

            People

            • Assignee:
              arafalov Alexandre Rafalovitch
              Reporter:
              arafalov Alexandre Rafalovitch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: