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

SignificantTermsQParserPlugin ignores local params

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 7.4
    • 7.5
    • query parsers
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: