Hi,

  I'm little confused with the right syntax of defining boost queries. If I
use them in the following way:

http://localhost:8983/solr/testhandler?q=Application+Manager&bq=(Source2:sfdc^6
Source2:downloads^5 Source2:topics^3)&debugQuery=true

it gets translated to -->

<arr name="parsed_boost_queries">
   <str>
       +Source2:sfdc^6.0 +Source2:downloads^5.0 +Source2:topics^3.0
   </str>
</arr>

Now, if I use the following query:

http://localhost:8983/solr/testhandler?q=Application+Manager&bq=Source2:sfdc
^6&bq=Source2:downloads^5&bq=Source2:topics^3&debugQuery=true

gets translated as -->

<arr name="parsed_boost_queries">
    <str>Source2:sfdc^6.0</str>
    <str>Source2:downloads^5.0</str>
    <str>Source2:topics^3.0</str>
</arr>

Both queries generate different result in terms of relevancy. Just
wondering what is the right way of using bq ?

-Thanks

Reply via email to