lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uri Boness (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2267) Using query function in bf parameter in the DisMaxQParser forces the use of parameter dereferencing
Date Mon, 06 Dec 2010 13:33:11 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message