I am trying to deboost certain documents based on an attribute called department code. The following works:
bq=(*:* -department_code:"others")^10
However, when I want to add another department to the deboost, I try the following query and it fails (it ends up boosting "others" and "unisex" instead)
bq=(*:* -(department_code:"unisex" OR department_code:"others"))^10
What's wrong with my syntax? Note: it works as expected on solr UI using the new boost parameter but fails to perform as expected when API is called