: bq works only with q.alt query and not with q queries. So, in your case you
: would be using qf parameter for field boosting, you will have to give both
: the fields in qf parameter i.e. both title and media.

FWIW: that statement is false.  the "boost query" (bq) is added to the 
query regardless of wether "q" or "q.alt" is ultimately used.

if you turn on debugQUery=true and look at your resulting query string, 
you can see exactly what the resulting query is (parsedQuery)

Using the example setup, compare the output from these examples...

http://localhost:8983/solr/select/?q.alt=baz&q=solr&defType=dismax&qf=name+cat&bq=foo&debugQuery=true
http://localhost:8983/solr/select/?q.alt=solr&q=&defType=dismax&qf=name+cat&bq=foo&debugQuery=true


-Hoss

Reply via email to