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

Use the BoostQParserPlugin via defType

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 6.0
    • None
    • query parsers
    • Solr dev/trunk r1615934

    Description

      Use the BoostQParserPlugin with defType (global params).
      Currently the BoostQParserPlugin gets its parameters in the localParams only.

      This query works :
      http://localhost:8983/solr/collection1/select?q={!boost b="scale(price,0,1)"}price:*&fl=id,price

      This query does not :
      http://localhost:8983/solr/collection1/select?q=price:*&fl=id,price&defType=boost&b=scale(price,0,1)

      I don't know if there is a reason for it to behave that way.

      Attachments

        1. quickfix.patch
          0.8 kB
          Jonathan Bayle

        Activity

          People

            Unassigned Unassigned
            baylej Jonathan Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: