Closed slock83 closed 7 years ago
Deboost is already supported in queries.
biases between 0 and 1 will reduce the scores of any matches. See these docs: http://actionml.com/docs/ur_config#bias
Thanks for the PR, always happy for contributions. You can also start a conversation before you do the work so we can determine the needs and how to implement
This PR adds support to deboost fields in query using an additional (optional, non-breaking) parameter in the query : mode.
If not present or invalid, the old behavior is used. If set to deboost, the concerned field will be deboosted instead of boosted. See it as a "should not" in elasticsearch