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

Using query function in bf parameter in the DisMaxQParser forces the use of parameter dereferencing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.1
    • 3.1
    • search
    • None

    Description

      The DisMaxQParser parses the bf parameter using the SolrPluginUtils.parseFieldBoosts(...) function. This function tokenizes the string based on whitespaces and then bulilds a map mapping fields to their boost values. Unfortunately, the the *

      {!...}

      * form of a query contains whitespaces and therefore the parsing of the boost function fails.

      This should be considered as a bug as effectively it forces the use of parameter dereferencing which in many cases is not ideal.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              uboness Uri Boness
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: