Hello,
I'm trying to demote certain search results by providing a negative boost to the results containing certain terms. But the negative boost factor does not affect the score.
Following is my query:
GET /_search
{
"query": {
"boosting" : {
"positive" : {
"term" : {
"fields.html|description|system$" : "test"
}
},
"negative" : {
"term" : {
"fields.str|title|system$" : "stale"
}
},
"negative_boost" : "0.0001"
}
}
}
The search results are the same with or without the negative boost. Is there some other way to achieve this?