Tweak solr weights/boosts - switch from additive boosting to multiplactive boosting#12357
Open
Tweak solr weights/boosts - switch from additive boosting to multiplactive boosting#12357
Conversation
fa46472 to
54c1707
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts Work Search’s Solr eDismax tuning to use multiplicative boosting (via boost) instead of additive boosting (via bf) to reduce over-weighting of popularity signals relative to textual relevance.
Changes:
- Replaces
bf-based additive boosts with an eDismaxboostfunction expression. - Expands/adjusts
qfand phrase-boost parameters (pf,pf2) to change match weighting and proximity scoring.
3594574 to
ddf5888
Compare
Collaborator
Author
|
Patching this out now for a bit to monitor performance. |
Member
|
Here's an example @cdrini showed where the search was "The secret of secrets" which didn't appear within the first 15 results on (before) and is 3rd on (after)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #11777
Technical
bfparameter for our boosting, but this applied additive boosting, meaning the boosting could outweight the relevance quite drastically. Switching toboostgives us multiplicative boosting, which is recommended. See Additive Boosts vs Multiplicative Boostsqf, where previously we only had a few, and (2) using morepffields. If there is too much of a performance cost, we can switch back to usingtext; there is still a big improvement from the boosting changes alone.Testing
Improves upon all classes in our evaluation spreadsheet. C in the following tables (Note A is the same as C, but using
textinstead of the explicit listing of fields.)You can also compare results before/after here: https://codepen.io/cdrini/full/wvJqzaK
Screenshot
Stakeholders