Elastic search disallows negative boost values with v7. Is there a way to reproduce the same behaviour in the new version v7 as it worked in v6 or lower?
I.e. if I had a should
query with various multi_match
queries (or other) and one or more of them previously had a negative boost
, it ment in v6, that when the score of the bool
query was summed, it reduced the overall score, of the should
query.
The docs and migration notes states, that a score between 0 and 1 should be used instead. But as the should
query will always be summed (not multiplied) it will not have the same effect.
Example: (factors = boost values)
(score1 * 1.5)+ (score2 * 2) + (score3 * - 2.3) + (score4 * -1)
How could I get the same result in ES7?