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
- duplicates
-
SOLR-2014 Allow BF parameter to accept complex nested expressions with whitespace sprinkled throughout
- Open