What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix
What is the current behavior? (You can also link to an open issue here)
When a score modifier doesn't exist in document but is specified in the query, the score is multiplied by 0.
What is the new behavior (if this is a feature change)?
When a score modifier doesn't exist in document but is specified in the query, the score is multiplied by 1.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Users who might have depended on the 0 behavior of multiply_score_by in score modifiers will be affected. As per team discussion, this change is acceptable.
Have unit tests been run against this PR? (Has there also been any additional testing?)
Yes
Related Python client changes (link commit/PR here)
Related documentation changes (link commit/PR here)
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Bug fix
What is the current behavior? (You can also link to an open issue here) When a score modifier doesn't exist in document but is specified in the query, the score is multiplied by 0.
What is the new behavior (if this is a feature change)? When a score modifier doesn't exist in document but is specified in the query, the score is multiplied by 1.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) Users who might have depended on the
0
behavior ofmultiply_score_by
in score modifiers will be affected. As per team discussion, this change is acceptable.Have unit tests been run against this PR? (Has there also been any additional testing?) Yes
Related Python client changes (link commit/PR here)
Related documentation changes (link commit/PR here)
Other information: marqo api tests: https://github.com/marqo-ai/marqo-api-tests/pull/86
Please check if the PR fulfills these requirements
[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[x] Docs have been added / updated (for bug fixes / features)