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

                 Key: SOLR-2267
                 URL: https://issues.apache.org/jira/browse/SOLR-2267
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 3.1
            Reporter: Uri Boness
             Fix For: 3.1


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to